Hi,
Is your "required" field between your <form...> and </form> tags?
If that's not the problem, please post your form's URL so we can have a look.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I have set up my form to use the required fields. I am testing it right now and am finding the following happens.
If I miss a field that is required it returns a message stating that there are multiple fields missing. For example I fill out my form with realname, lastname, and the flie uploads, skipping the email address.
I get an error stating that I missed the email address, but I also missed lastname, file1, and file2 when in fact those fields contained data
Why is this not working properly? Any help would be greatly appreciated.
Hi,
Is your "required" field between your <form...> and </form> tags?
If that's not the problem, please post your form's URL so we can have a look.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
<form method="post" action="formmail.php" name="Noetic Resume Submission" enctype="multipart/form-data" ID="Form1">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,
REMOTE_USER" ID="Hidden1">
<input type="hidden" name="recipients" value="afex@noetic.ca" ID="Hidden2">
<input type="hidden" name="subject" value="Test Submission" ID="Hidden3">
<input type="hidden" name="required" value="email:Your email address,realname:Your first name,lastname:Your last name,file1: Your cover letter,file2: Your resume," ID="hidden9">
<input type="hidden" name="alert_to" value="afex@noetic.ca" ID="Hidden4">
<input type="hidden" name="good_url" value="http://www.noetic.ca/career/opportunity/templates/success.html" ID="Hidden6">
<input type="hidden" name="bad_template" value="http://www.noetic.ca/career/opportunity/templates/fail.html" ID="Hidden7">
<input type="hidden" name="bad_url" value="http://www.noetic.ca/career/opportunity/fmbadhandler.php" ID="Hidden5">
<input type="hidden" name="this_form" value="http://www.noetic.ca/career/opportunity/job04/body01.html" ID="Hidden8">
Hi,
You've called the field "LastName" but in the required spec you specified "lastname".
Notice the case difference?
For your file attachments, there's currently no way to force them to be required. We've got this additional feature planned for the next version.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks