Developer Support »

HTML validation errors on customer's form  (See more user questions)


You haven't quoted the previous email, so I'm not 100% sure where we were
with this.

1. The script doesn't make forms, it processes them. You need to make your
own forms. I can't make your forms for you. FWIW, I was able to click the
phone field normally. My browser is Opera. Made me suspect you have
validation errors on the form page, which you have:

Might be due to this duplication:

<div class="box106-phone-field">
<input type="text" name="phone" size="55"/>

<div class="box106-phone-field">
<span class="text1"></span>

2. Required field. I take it this is the message box:

<div class="box107-text-field">
<textarea name="enter text" rows="13" cols="60">

The value you need to put in the required fields array in the script is:
"enter text". Again, better to fix the validation errors too. If you send
me your edited script, and quote this message, I will look at the required
fields array for you, if you wish.

Any questions, just let me know.

Best wishes.

Charles Sweeney
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, March 04, 2010 6:13 PM
Subject: FormToEmail script

> Comments: Hi Charles,
> Below is a link to a form that I just made for that site.
> It works but there are two things I had trouble with. 1st and most
> importantly, when I click to highlight in the phone text field it does not
> activate (blink in the text field) unless the cursor is over the phone
> field near the middle or right, i.e., the field will not activate if you
> click on about the last 1/3 of the filed to the far left. This may make
> many folks ignore this box.
> 2ndly, I cannot figure out why I can't successfully set the required
> fields to include the message box. When I add it to the php required
> field script string. The form returns a message saying that you must
> enter text, even when text is already there.
> Can you look at my form action html code and tell me how I can fix these
> problems.
> Thanks again for all of your help.