Events Made Easy Forums How do I … creating a custom checkbox form field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54917
    Anonymous
    Inactive

    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?

    #54918
    Anonymous
    Inactive

    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?

    #54920
    Anonymous
    Inactive

    Hi,

    Field values must be something like 1 or other but not 0. 0 it’s the default status for a no check checkbox.

    #54921
    Anonymous
    Inactive

    Oh yeah of course (facepalm) thanks for the quick feedback

    #54922
    Anonymous
    Inactive

    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 ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top