Gossamer Forum
Home : Products : DBMan : Discussions :

How can I put > or < in a pull down form?

Quote Reply
How can I put > or < in a pull down form?
 
Hi all,

Is there any way to put < and > in pull down format in front of the search box so that the users dont have to write it?

Thanks

Quote Reply
Re: [RogerSolo] How can I put > or < in a pull down form? In reply to
beep beep ... please ...

Quote Reply
Re: [RogerSolo] How can I put > or < in a pull down form? In reply to
I suppose if you have a custom search form you can include the > < as the value for the field, but you would have to have two fields defined one for each choice associated with the specific field.

Just a thought



Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] How can I put > or < in a pull down form? In reply to
hmmm ...

It works OK if the user puts in >1000 in the field box. All I want is to give the user a pull down, combine the values of pull down and field and submit these. so that the form procesor (db.pl) thinks that teh user has submitted >1000.

Javascript?


Quote Reply
Re: [RogerSolo] How can I put > or < in a pull down form? In reply to
You could add an onlick even into the submit button like:

onclick="do_something()"

Then...

<script language="Javascript">
function do_domething() {
FormName.FieldName.value = "<" + FormName.FieldName.value;
}
</script>

Thats not a great way but it should work.

Last edited by:

PaulW: Nov 15, 2001, 4:11 AM