I get these 2 errors when I am adding info to the database ( i have YES radio button clicked) Validated (Invalid format) Validated (Too long. Max length: 3)
I have %db_def setup as the default - i only changed the number (9)
Validated => [9, 'alpha', 0, 3, 1, 'Yes', 'Yes|No'],
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = ( Validated => 'Yes,No' );
html.pl
<TD VALIGN="TOP"> |; print &build_radio_field ("Validated", "$rec{'Validated'}"); print qq|</TD></TR>
I have searched the forums and I cant find an answer... anyone?
Thanks
I have %db_def setup as the default - i only changed the number (9)
Validated => [9, 'alpha', 0, 3, 1, 'Yes', 'Yes|No'],
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = ( Validated => 'Yes,No' );
html.pl
Code:
<TR><TD ALIGN="Right" VALIGN="TOP"><$font>Validated:</FONT></TD> <TD VALIGN="TOP"> |; print &build_radio_field ("Validated", "$rec{'Validated'}"); print qq|</TD></TR>
I have searched the forums and I cant find an answer... anyone?
Thanks