Jump to content
  • 0

Question

7 answers to this question

Recommended Posts

  • 0
Posted

Custom field checkboxes only have one value--the value when the box is checked. You can set it to anything you like. If you leave the value blank, then the value stored will be blank when the box is checked.

  • 0
Posted

Custom field checkboxes only have one value--the value when the box is checked. You can set it to anything you like. If you leave the value blank, then the value stored will be blank when the box is checked.

 

Oh so if you put the value as "Checked" in the database if the user has checked it it will show labelname | checked

  • 0
Posted

Oh so if you put the value as "Checked" in the database if the user has checked it it will show labelname | checked

Give or take, yeah.  Not sure about other fields but I found w/ checkboxes when they aren't checked there's not even a record for it in the database.  Which, kind of makes sense.

  • 0
Posted

Give or take, yeah.  Not sure about other fields but I found w/ checkboxes when they aren't checked there's not even a record for it in the database.  Which, kind of makes sense.

 

Unchecked checkboxes are not submitted via POST, so yes, there wouldn't even be a record of it. If there were, then to the OP's question, there would need to be a checked and unchecked value.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...