[solved] frontend submit with conditional field validation

More
1 year 1 month ago #84525 by kath
Hi there,

I have a small submit form (frontend).
How an I implement validation so that either email- or phone-flexicontent-field must be filled.

I know how to do it using e.g. jquery, outside of joomla-/FC-context.
I am also aware of mandatory flexicontent-fields.
But how can I do it in Joomla/Flexicontent?

[setup]
J 4.4.0
FC 4.2.1

Thanks a lot!

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

More
1 year 1 month ago #84528 by micker
hello in each type you can add your js script via a codemiror field (flexi already add jquery)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
1 year 1 month ago #84529 by kath
wow, that is so awesome, and works, too :) Thanks a lot, guys!

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

More
1 year 1 month ago #84556 by micker
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.610 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