Reply To: Problems with CheckBox fields with Version 1.1.6 upgrade.

Home Forums User Registration Problems with CheckBox fields with Version 1.1.6 upgrade. Reply To: Problems with CheckBox fields with Version 1.1.6 upgrade.

#1126

Aldersoft
Participant

I did some experimentation and I believe I see the problem.

Choices are used to assign the value to the checkbox variable.
Your example is misleading when it says:

Please input your text here to create the checkbox list like:
Checkbox 1,
Checkbox 2,
Checkbox 3

Essentially what you are saying is that you can input a multi-value list.
I see what you are doing now, but some problems: (BTW using this it formats correctly)

1. The example implies that if you check “Checkbox 1” you would get the value 1, where as in actual fact you get the value “Checkbox 1″.
I am assuming that field[] in an input statement implies an array.

2. Generally I have only seen check boxes used for Boolean values, IE. TRUE if checked or FALSE if not. This is what I actually want.
Alternately, I should be able to separate the value and the description: eg. <input type=”checkbox” name=”variable” value=”1″ description>

Any thoughts ?