Developer Support »

Problem with HTML validation  (See more user questions)

Hi

The errors can't be on my script. The script is remote from the form page.
All you have on your form page is your own code.

Does the page need to use a XHTML doctype? Might validate better with
another one.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, August 21, 2008 12:02 PM
Subject: Re: FormToEmail script


hi,
have all sorted on the form now. but now youve got me onto the
validation. i have sorted all problem and errors on my
site, all except 2 errors, on
contact_quote.html

Validation Output: 2 Errors


Line 72, Column 47: required attribute "type" not specified.
&#8230; <td class="quotecontents"><script>DateInput('arrival', true,
'DD-MON-YYYY
&#9993;
The attribute given above is required for an element that you've
used, but you have omitted it. For instance, in most HTML and XHTML
document types the "type" attribute is required on the "script"
element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.

Line 77, Column 47: required attribute "type" not specified.
&#8230; <td class="quotecontents"><script>DateInput('departure', true,
'DD-MON-YY
&#9993;
The attribute given above is required for an element that you've
used, but you have omitted it. For instance, in most HTML and XHTML
document types the "type" attribute is required on the "script"
element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.

these i think are in the formtoemail script, im not sure how to
change the code for validation, can you help with this one last task,
form is working already, getting portential clients already. once i
understan what i get for the pro version, ill purchase
cheers


On 20 Aug 2008, at 15:38, FormToEmail.com wrote:

> Hi
>
> That's really strange. Particularly when the sites are on the same
> server and you are comparing like with like. I don't mean to bang
> on about it but this page (for instance) is showing 47 errors on
> the W3C validator :
>
> /contact_quote.html
>
>
>
> If it was me, for test purposes, I would make a very simple page
> with a form containing just the "children 13-16 years" input. I
> would have nothing on the page bar the form. That then takes a lot
> of things out of the equation.
>
> I would then try this on all the different sites. If it is still
> the case that the values (when selected from the drop down) don't
> get sent, then this would narrow it down hugely for troubleshooting
> purposes. On the other hand, if they all worked, then you would
> know there was nothing wrong with the input itself and you would
> have to look at something else on the page.
>
> Hope this is of some help.
>
> Best wishes.
>
> Charles Sweeney
> https://formtoemail.com
> The world's easiest feedback script!
>
> ----- Original Message -----
> Sent: Wednesday, August 20, 2008 11:54 AM
> Subject: Re: FormToEmail script
>
>
>> hi,
>> i now have the field 'children 13-16 years' working on 2 sites, but
>> not on three others the code seems to be exactley the same, i even
>> cut and pasted it, from the working sites
>>
>> 2 working sites forms
>> /contact_quote.html
>> /contact_quote.html
>>
>>
>> /contact_quote.html
>> /contact_quote.html
>> /contact_quote.html
>>
>> all sites are on the same server and are on , the
>> other sites are nested in the public html dfolder, under their own
>> website folders. not really sure what to do now.
>>
>> regards