In default.cfg:
status => [28, 'alpha', 5, 255, 1, '', '']
In html.pl sub html_record_form:
<TD WIDTH="25%" BGCOLOR="#CCFFFF" valign=top>
<P ALIGN=right><B>Status:</B></P>
</TD>
<TD COLSPAN=3 BGCOLOR="#CCCC99">|;
print &build_select_field ("status",
"$rec{'status'}");
Select is showing up fine in add screen and if I have field set to not null it recognizes if I haven't selected anything but it is not adding anything to the default.db. Any suggestions?
Mike
status => [28, 'alpha', 5, 255, 1, '', '']
In html.pl sub html_record_form:
<TD WIDTH="25%" BGCOLOR="#CCFFFF" valign=top>
<P ALIGN=right><B>Status:</B></P>
</TD>
<TD COLSPAN=3 BGCOLOR="#CCCC99">|;
print &build_select_field ("status",
"$rec{'status'}");
Select is showing up fine in add screen and if I have field set to not null it recognizes if I haven't selected anything but it is not adding anything to the default.db. Any suggestions?
Mike