Jump to content

This topic is 7869 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello, I really need some assistance with a search problem. I have a text field the user uses to search from a specific field only. I only want the result to be "Equal". The only method that I can get to work is by using options pop-up, to me this looks to amateur. I would like to have the "Equal" value hidden. I've searched the forum and tried different things ( <input TYPE="hidden" NAME="-op" VALUE="eq"> or <input TYPE="hidden" NAME="-op" VALUE="="> and <input TYPE="hidden" NAME="-op" VALUE="==">) which none have worked. Here is what I currently have

<form action="/FMPro" method="post">

<SELECT NAME="-op">

<OPTION SELECTED>equals

</SELECT>

<input type="text" name="modify_record_search" size=50>

<input type="submit" name="-find" value="Search" size=30>

<input type="hidden" name="-db" value="01_Printer_db.fp5">

<input type="hidden" name="-lay" value="PrinterLayout">

<input type="hidden" name="-format" value="/printer_db/DetailPrinter_modify.html">

</form>

any help that could be provided would be greatly appreciated.

Paul

Posted

I think that the order of the <inputs> matter since ur trying to generate the "finding URL" so

put the <input type="submit" name="-find" value="Search" size=30>

as the last...the things u tried will work.

If I am wrong -> someone will correct me wink.gif .....afterall

Posted

Leb i Sol - thanks (you were correct), I saw what the problem was, I had the hidden down at the bottom of the form instead of before the field.

paul

This topic is 7869 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.