Jump to content
  • 0

Custom Field Value


10RUPTiV

Question

7 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...