|
Link to forms fails W3C Validation
|
|
02-01-2010, 07:01 AM
Post: #1
|
|||
|
|||
|
Link to forms fails W3C Validation
Unfortunately, if your site is coded to reach modern xhtml stict or traditional standards then it fails validation due to the way the Forms PHP software codes links to the forms. Something to do with amphersands and 'begin' in the link to a form(although the begin and other faults could be because the amphersand fails first).
Here is the WC3s response to the failure giving help on how to overcome PHP coding to achieve validation but I am afraid I am totally lost by it. Can anyone else understand this and perhaps offer a solution. Quote:An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs". Thank you. |
|||
|
02-01-2010, 09:27 AM
Post: #2
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
You are able via the /interface/ template that outputs the form fields to update the output to meet with your type of validation setting.
If you let me know where the & sign is coming from we can provide the solution to update that as well. I PHP Solutions: http://www.interactive-scripts.com CGI Solutions: http://www.cgi-world.com Help & Support: http://www.i2-services.com/helpdesk/ Testimonials: http://www.i2-services.com/forum/forumdi...php?fid=25 |
|||
|
02-02-2010, 10:58 AM
(This post was last modified: 02-02-2010 10:59 AM by devweb.)
Post: #3
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
Thanks to admin who sorted this by support call.
There is no need to change the PHP coding it is a simple change to the link construction itself: Non validating link: forms/forms.php?form=5&begin=1 Validating link: Quote:forms/forms.php?form=5&begin=1 |
|||
|
03-06-2010, 03:45 PM
Post: #4
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
ahh doh
indianapolis web design |
|||
|
03-07-2010, 03:23 AM
Post: #5
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
However, I have found that any actual form created by the software seems to fail even transistional WC3 validation pretty badly.
It is a great piece of software supported by a great guy but could the creation code be cleaned up to meet this please? Try your own site form page in the validator here: http://validator.w3.org/ |
|||
|
03-08-2010, 10:28 AM
Post: #6
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
The code depending upon what type of validation you use will always change.
Within the templates you can tweak the output of the form input code. PHP Solutions: http://www.interactive-scripts.com CGI Solutions: http://www.cgi-world.com Help & Support: http://www.i2-services.com/helpdesk/ Testimonials: http://www.i2-services.com/forum/forumdi...php?fid=25 |
|||
|
03-08-2010, 11:28 AM
Post: #7
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
That would be great - can you please explain how e.g set it to 'xhtml transitional1.0'
Thanks |
|||
|
03-08-2010, 11:32 AM
Post: #8
|
|||
|
|||
|
RE: Link to forms fails W3C Validation
If you could, submit a support ticket. I'll get you the functions file where you can tweak the form inputs..... output code if you will
PHP Solutions: http://www.interactive-scripts.com CGI Solutions: http://www.cgi-world.com Help & Support: http://www.i2-services.com/helpdesk/ Testimonials: http://www.i2-services.com/forum/forumdi...php?fid=25 |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help



