Hi all,
Great component, just have one thing I am trying to correct, basically, I get the following when validating my form:
Error: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
The code in question is:
line 105 column 174 - Error: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<input type="hidden" name="c84a96c83bcdf96ef802a6585d2a3b89" value="1" />
This seems to be generated by CF, not from the code I entered for the form. Looks like I just need to wrap it in <p></p>.... anyone know where I can find this?
Thanks
Great component, just have one thing I am trying to correct, basically, I get the following when validating my form:
Error: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
The code in question is:
line 105 column 174 - Error: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<input type="hidden" name="c84a96c83bcdf96ef802a6585d2a3b89" value="1" />
This seems to be generated by CF, not from the code I entered for the form. Looks like I just need to wrap it in <p></p>.... anyone know where I can find this?
Thanks
Hi lw_d,
I don't think that an input tag needs to be wrapped in anything. Maybe there's an incomplete tag earlier?
Is the page on-line? What are you validating with? and to which doctype?
Bob
I don't think that an input tag needs to be wrapped in anything. Maybe there's an incomplete tag earlier?
Is the page on-line? What are you validating with? and to which doctype?
Bob
Thanks for the response, I'm actually working locally at the minute, I will hopefully be uploading next week.
I am validating with the Strict doctype, using http://validator.w3.org
I have checked the rest of my template, doesn't seem to be any open tags, I think for the strict doctype.
Thanks
I am validating with the Strict doctype, using http://validator.w3.org
I have checked the rest of my template, doesn't seem to be any open tags, I think for the strict doctype.
Thanks
Hi lw_d,
In that case please will you take a form backup using the icon in the form manager and email it to the address in my sig and I'll take a look.
Bob
In that case please will you take a form backup using the icon in the form manager and email it to the address in my sig and I'll take a look.
Bob
Hi lw_d,
Sorry, I get the same validation error message but can't see what might be causing it. (I suspect a bug in the validator!)
Bob
Sorry, I get the same validation error message but can't see what might be causing it. (I suspect a bug in the validator!)
Bob
No worries, I won't worry to much about it, let me know if you find a fix though.
Thanks
Thanks
Hi all, adding this field inside <p></p> will fix the validation error ? we can hack the chronocontact.html.php to do this! let me know.
Regards
Max
Regards
Max
Hi Max,
I took a look in the said file but couldn't find the correct place to put the <p> tags, any chance you can help, I am using the latest version of CF.
Thanks
I took a look in the said file but couldn't find the correct place to put the <p> tags, any chance you can help, I am using the latest version of CF.
Thanks
Hi Lw_d,
For the moment just edit your form html and put them round the hidden input near the end.
Bob
For the moment just edit your form html and put them round the hidden input near the end.
Bob
Hi, I do not seem to have any hidden input in my form, the hidden input is generated by CF.
Sorry if I have misunderstood you.
Sorry if I have misunderstood you.
Hi lw_d,
This code????
Bob
This code????
<input type="hidden" name="c84a96c83bcdf96ef802a6585d2a3b89" value="1" />
Bob
Hi,
This is the line which will generate it :
Regards
Max
This is the line which will generate it :
<?php echo JHTML::_( 'form.token' ); ?>
Regards
Max
This topic is locked and no more replies can be posted.