How do you validate a checkbox field?

HelenaG Grulichova asked on November 7, 2012 04:44

How do you validate a checkbox field?

Correct Answer

HelenaG Grulichova answered on November 7, 2012 04:44

If you want to send your form after your visitor checks a checkbox, you can take advantage of the validation functionality for Text fields, so please define your field as the Text attribute type (instead of a boolean) and then follow the settings below:

Form control: Multiple choice
Repeat direction: Vertical / Options (one value;name pair on each line - example: 1;Blue)
Data source: yes;I agree
Regular expression: yes
Error message: You have to confirm this form

-jh-
1 votesVote for this answer Unmark Correct answer

Recent Answers


Nicolás P answered on September 4, 2015 17:37

And how can I do that for Newsletter subscribtion forms?

Thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.