Checkbox Fields

Comments

2 comments

  • Andrea Edgar

    Could you please demonstrate how to default multiple checkbox values?

    0
    Comment actions Permalink
  • Nick Bair

    Andrea Edgar I wanted to know the same thing so I did some experimenting and this is what I found.

    To specify multiple defaults in the Form Builder, just enter each default on a new line.

    To specify multiple defaults as a URI query string, it's a little trickier. You would use array syntax, like so:

    ?colors[0]=Red&colors[2]=Blue

    ...where the number in the bracket is the zero-based position of the item you want checked. In my above example I skipped Green, so it will not be checked.

    Hope this helps!

    0
    Comment actions Permalink

Please sign in to leave a comment.