ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Validate Checkbox in CF v6

omidhz 18 Apr, 2017
How can I make a checkbox required?
This is what I have now in the Validation rule, but it is not working:
required: Please accept Terms and Conditions before you can proceed.
Attached is the screen shot of my checkbox fields.
If I delete the value, then I can't submit the form and it always shows a error message.
Max_admin 18 Apr, 2017
Answer
1 Likes
Hi omidhz,

For a "single" checkbox you need to use this rule:
checked: Please accept Terms and Conditions before you can proceed.
For multiple:
minChecked[1]: Please select at least one

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com