Gossamer Forum
Home : Products : DBMan : Discussions :

Percular search bug(?)

Quote Reply
Percular search bug(?)
In a 99% functional database, I have this in my "sub html_record_form":
...
FSize: <INPUT TYPE="TEXT" NAME="FSize" SIZE="50" VALUE="$rec{'FSize'}" MAXLENGTH="10">
...

When I do a search, it always returns a no record found error, with a "~~" appended to the new "FSize" text input field...

If I get rid of that particular line in my "sub html_record_form" everything works. Has anyone had similar problem. My field was initially named "Size" and I thought it might be conflicting with the cgi somehow, and changed it to FSize in both my html.pl and .cfg file.

Thanks in advance!
Quote Reply
Re: [Oink] Percular search bug(?) In reply to
When you made the change in your .cfg file, did you change the field's position or number?
Quote Reply
Re: solved. In reply to
Thanks Karen, I just solved it. My .cfg file is okay but in my "sub html_record_form" there was this line after the one I mentioned...
...
FSize: <INPUT TYPE="TEXT" NAME="FSize" SIZE="50" VALUE="$rec{'FSize'}" MAXLENGTH="10">
...
Height: <INPUT TYPE="TEXT" NAME="FSize" SIZE="50" VALUE="$rec{'Height'}" MAXLENGTH="10">
...
a typo!
Quote Reply
Re: [Karen] Percular search bug(?) In reply to
Sounds like you have the field twice on your search form.
Quote Reply
Re: [Oink] solved. In reply to
Really pleased you've found the problem. :-)