I am using a total of 47 check boxes in a database. These enable specific choices to be made by users. I need multiple choice fields, hence the use of check boxes.
I have placed the boxes in rows in html.pl.
I now confess to being unsure of how to set it all up.
I have used the following html syntax:
<td width="106" align="right" style="border-left: 1px solid; border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Private </font><input
type="checkbox" name="C1" value="$rec{'Private'}" tabindex="1"></td>
<td width="109" align="right" style="border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Corporate </font><input
type="checkbox" name="C2" value="$rec{'Corporate'}" tabindex="2"></td>
<td width="104" align="right" style="border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Institutional </font><input
type="checkbox" name="C3" value="$rec{'Institutional'}" tabindex="3"></td>
Is this correct?
When a checkbox is checked, on creating the record, what value would be ascribed? Would it be the literal alpha value given in the value="rec{'value'} variable? This would not matter since none of these variables will be printed, but simply used to return matching records in a search.
Do I have to make any changes in the db.cfg file?
If I can get this problem sorted, then I think I am finished on this project.
Just one more thing. Will Eli Finkelman's cookie mod work with the secure lookup mod?
Thanks
David Olley
Anglo & Foreign International Limited,
Winchester
England
I have placed the boxes in rows in html.pl.
I now confess to being unsure of how to set it all up.
I have used the following html syntax:
<td width="106" align="right" style="border-left: 1px solid; border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Private </font><input
type="checkbox" name="C1" value="$rec{'Private'}" tabindex="1"></td>
<td width="109" align="right" style="border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Corporate </font><input
type="checkbox" name="C2" value="$rec{'Corporate'}" tabindex="2"></td>
<td width="104" align="right" style="border-top: 1px solid; border-bottom: 1px none"
valign="middle" height="1"><font face="Arial" size="1">Institutional </font><input
type="checkbox" name="C3" value="$rec{'Institutional'}" tabindex="3"></td>
Is this correct?
When a checkbox is checked, on creating the record, what value would be ascribed? Would it be the literal alpha value given in the value="rec{'value'} variable? This would not matter since none of these variables will be printed, but simply used to return matching records in a search.
Do I have to make any changes in the db.cfg file?
If I can get this problem sorted, then I think I am finished on this project.
Just one more thing. Will Eli Finkelman's cookie mod work with the secure lookup mod?
Thanks
David Olley
Anglo & Foreign International Limited,
Winchester
England