overriding form default behavior

P

Peter

The following makes date2=something. Is there a way to make it <= or
=. I tried making it less than by placing date2< in the name field
but that didn't work.

<input type="hidden" name="date2" id="datefield">

id is getting its value from javascript which returns a date in the
form 2008-01-17

The form is sending the values via POST.

Thanks,
Pete
 
A

Adrienne Boswell

Gazing into my crystal ball I observed Peter <[email protected]>
writing in @n22g2000prh.googlegroups.com:
The following makes date2=something. Is there a way to make it <= or
but that didn't work.

<input type="hidden" name="date2" id="datefield">

id is getting its value from javascript which returns a date in the
form 2008-01-17

The form is sending the values via POST.

Thanks,
Pete

Forms return name/value pairs. The equal sign means that name equals
value. It has nothing to do with less than. That is something that you
will have to do in your script, client or server side.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top