Forums / Setup & design / 3.2 -> Check box as information collector. How to modify the default value in a form ?
laurent le cadet
Monday 24 November 2003 2:47:08 am
Hi,
I noticed it's possible to have now check box as information collector.So the default value is send (0 or 1) when the check box is in a form.
What is the syntax to render a check box which allowed the user to change this value before sending the form ?
<form> <input name="guide" type="checkbox" value="{????}"></form> ?
This works fine but is that the best way ?
<input type="hidden" name="ContentObjectAttribute_id[]" value="19717" /> <input type="checkbox" name="ContentObjectAttribute_data_boolean_19717" />
Thanks
Laurent