Gossamer Forum
Home : Products : DBMan : Customization :

Checkboxes?

Quote Reply
Checkboxes?
Hi

Can anyone explain to me how to use checkboxes properly in perl? Say I have a list of strings, each with a checkbox next to them (in a form). How do I identify the checked ones when handling them in the corresponding script that receives the form values?.. Crazy
Quote Reply
Re: [eric74] Checkboxes? In reply to
Not really sure what you mean... You can assign any value you want to a checkbox. However for cross-scripting purposes I'd use a "1" (one). If you ever plan on using JavaScript to check or uncheck a box or even determine if it is checked - its value has to be 1.

Apologies if this is not related to your question...