FrontEnd Required fields not working [SOLVED]

More
13 years 2 months ago #20059 by igcorreia
The required fields in front end are not being validate.

So the TITLE is the only minimum required.
Please could you fix this.

Regular test, create a new custom Flexi Field, make it required and try to create a new item in the form end without filling this item.

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

More
13 years 2 months ago #20066 by ggppdk
The required feature is implemented for most field types, but not for all.

I guess you are using v1.5.6 ? (you have mentioned before)

Which field type is this not working? Do you have javascript errors (e.g. conflict with jquery loading multiple times)?
Have you enable the parameter in the field configuration?


-- 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
13 years 2 months ago #20076 by igcorreia
This is the version: FLEXIcontent version 1.5.6 beta2 (r926)
Field: Text Area - Set Required YES
No errors what so ever in FF with maximum Errors.
It validates in the back end.

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

More
13 years 2 months ago #20081 by ggppdk
Ok, we are talking about v1.5.6 , didnot test in previous version, i can see that in frontend that we are not loading the custom FLEXIcontent form field validator.

This should fix it but i need to test it a little more:
In file components/com_flexicontent/views/items/tmpl/form.php just after line:

$this->document->addScript( JURI::base().'administrator/components/com_flexicontent/assets/js/itemscreen.js' );

add:
Code:
$this->document->addScript( JURI::base().'administrator/components/com_flexicontent/assets/js/admin.js' ); $this->document->addScript( JURI::base().'administrator/components/com_flexicontent/assets/js/validate.js' );


-- 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
13 years 2 months ago #20083 by igcorreia
Worked. let us know if we can help test it more.

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

More
13 years 2 months ago #20085 by ggppdk
I will include fix in next revision ... thanks for reporting this.

Regards


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.377 seconds
Save
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