开发者

if else conditions in ckform joomla

开发者 https://www.devze.com 2023-03-03 15:11 出处:网络
I have installed the \"CKFORMS\" component in joomla, I want to put the condition on radio button (YES/NO) if it\'s checked to YES then the fields First Name and last name开发者_运维百科 will become t

I have installed the "CKFORMS" component in joomla, I want to put the condition on radio button (YES/NO) if it's checked to YES then the fields First Name and last name开发者_运维百科 will become the mandatory for the user.

I don't know how should i proceed further.

Please help

Thanks in advance Dave


Finally I got the solution,

I have included the Jquery inside the ckforms, and on the submit button , added the snippet to check if radio button is checked or not.

And if clicked yes, then all jquery stuff to stop the user (alert messages and son on).

thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号