Gossamer Forum
Home : Products : DBMan : Customization :

select field problem

Quote Reply
select field problem
when i add a new record the "document type" field in my database is left blank.

in my .cfg file, here is how it is declared:
Doctype => [7, 'alpha', 0,20,1,'','']
%db_select_fields = (
Doctype => 'Letter, Email, Presentation'
);

in my html.pl file:
|;print &build_select_field ("Doctype","$rec{'Doctype'}"); print qq|

do i still need to modify anything?
Quote Reply
Re: select field problem In reply to
i hope im not annoying anyone with this posting. i figured out that i made a mistake in calling out the field name in the sub html_record. instead of putting "Doctype", i entered "DocType". serves me right to be conscious of what im typing. small and big letters mean a lot with DBman.
Quote Reply
Re: select field problem In reply to
No, it's not annoying at all. It's kinda nice to see people find their own answers. Smile


------------------
JPD





Quote Reply
Re: select field problem In reply to
i checked the .db file and found that the doctype entry was actually in there. but why cant it be displayed when you try to "list" the record? did i miss something in my cfg file?

please help.....