checkbox field in editor

checkbox field in editor

hugomeanahugomeana Posts: 18Questions: 0Answers: 0
edited February 2013 in General
Hello,

I have the next checkbox with 2 posibles values "t" is checked and "f" is not checked:

[code]
{
"label": "Login ST",
"name": "login_status",
"type": "checkbox",
"ipOpts": [
{
"label": "",
"value": "t"
}
]
},
[/code]

When I save de form, in the database it save in blank. Why?

Than you!

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    That's not how HTML checkboxes work - are you perhaps looking for a radio input, where one of the two options much be selected?

    Allan
This discussion has been closed.