[Fixed] Custom HTML tag parameters in text field

More
12 years 2 months ago #35912 by brandonking
Helio,

Field attributes in text field is not working..
Tried to add onclcik="someFunction()" on Field attributes in two text fields but has failed. Nothing is in input tag..

Regards,
Brandon

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #35914 by ggppdk
Hello, please check these

1. Is the custom code inserted properly (does it appear if you do view HTML source of page) ?

2. Check if some other library is using or interfering with the even , e.g. inputmask jQuery library may be enabled on the text field

3. Do other events work e.g. onFocus?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #35917 by brandonking
1. Is the custom code inserted properly (does it appear if you do view HTML source of page) ?
Yes I guess so :) and it doesn't appear on HTML source page.

2. Check if some other library is using or interfering with the even , e.g. inputmask jQuery library may be enabled on the text field
No masking used for this field.

3. Do other events work e.g. onFocus?
I tried with onFocus but still not working.
Even tried to add tabindex="1", it doesn't appear on HTML source page.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #35918 by ggppdk
Hello,

brandonking wrote: Yes I guess so :) and it doesn't appear on HTML source page.

I am sorry you meant that the code appear inside HTML source or it does not ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #35919 by brandonking
No, it doesn't appear on HTML source page. :)

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #35921 by brandonking
Hello,

I have found a bug.
Incorrect variable used.
In xml file, declared as extra_attributes
Code:
<field name="extra_attributes" type="text" default="" size="50" label="FLEXI_FIELD_EXTRA_ATTRIBUTES" description="FLEXI_FIELD_EXTRA_ATTRIBUTES_DESC" />
In php file, declared as extra_attribs
Code:
$extra_attribs = $field->parameters->get( 'extra_attribs', '' ) ;

Regards,
Brandon

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.365 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save