Gossamer Forum
Home : Products : DBMan : Customization :

build_select_field not working

Quote Reply
build_select_field not working
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
Quote Reply
Re: build_select_field not working In reply to
Never mind!!! I added an expression to remove all but numbers from 1 field and it appears to be doing that for all fields! I guess I'll just have to find where I goofed.

Mike