- This topic has 4 replies, 2 voices, and was last updated 9 years, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › creating a custom checkbox form field
Hi,
I’m trying to make a custom checkbox for my forms but i keep getting the following error message:
Error: the field value can not be empty for this type of field.
I filled in all the fields to no avail:
Field Name: prepaid
Field Type: checkbox
Field values: 0
Field tags: prepaid
what am I doing wrong?
Looks like it doesn’t like the use of 0 as a field value. I tried with “test” and it worked
honestly I don’t understand the purpose of this field value for a checkbox. Either it’s true or it’s false, what else can a checkbox be?
Hi,
Field values must be something like 1 or other but not 0. 0 it’s the default status for a no check checkbox.
Oh yeah of course (facepalm) thanks for the quick feedback
The purpose of the field value is to make test after with the conditionnal placeholders !!
If you make a checkbox banana and apple if you just put true or false you can’t know what is the checkbox check but if you put banana for banana and apple for apple you can know what the user are choose (banana, apple or both).
So the question is why do you want to use a checkbox ?