Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 16, 2005, 6:36 pm
rate this thread
working on this form and I cannot seem to get the reqired text behavior
to work correctly.
It is a request for samples. I want some of the info (name,address,
etc) to be required before the form will even submit.
I have assigned a behavior to the form tag to require certain info from
potential customer to be filled out. To cover all bases, I have also
specified that the required fields be filled before it will send.
The code is below:
(note: some info has been changed to protect the innocent)
<form action="/cgi-bin/FormProcessor.pl" method="post"
<INPUT TYPE=HIDDEN NAME="subject" VALUE="Request For Samples">
<INPUT TYPE=HIDDEN NAME="redirect"
<INPUT TYPE=HIDDEN NAME="required" VALUE="Name,Company
This seems to work in every browser except IE 6 PC, naturally, it is
the browser used by nearly all of the company's customers.
If you hit the submit button in Firefox (or safari or opera) without
typing something in the required fields, you get this pop up window :
The following error(s) occurred:
- 01)Name is required.
- 02)Title is required.
- 04)Company Name is required.
- 05)Address is required.
- 06)City is required.
- 07)State is required.
- 08)Zip is required.
- 09)Phone is required.
- 12)Email is required.
Is there something special you have to do to get this to work in IE 6?
What am I not doing?
The area that is "onSubmit" was done in DWMX, the other "required"
stuff I put in by hand.
Is there something out of place?
Suggestions? Any one?
The actual form in question is here, in a hidden place:
Thanks in advance,