Accessibility validation problem

datatonic 19 Sep, 2012
I have a site that has to adhere strictly to WCAG 2.0.

I'm getting an error through the form name and id, name="GreekContactForm" id="chronoform_GreekContactForm".

AS the id and name have to be the same to validate.

I can't change the name to the id as no underscores are allowed in form names.

Is there any other way around it?
Max_admin 20 Sep, 2012
Hi datatonic,

Please use the 2 variables below in a "custom code" action BEFORE the "show html" action:


$form->html_form_name = "ttttt";
$form->html_form_id = "ttttt";


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 20 Sep, 2012
Hi datatonic,

Just a footnote to Max's post to say that underscores are allowed in form names. But that wouldn't help here - use Max's suggestion instead.

I had a very quick scan of the WAGC requirements and couldn't see where it says that the id and name have to be the same. That still seems to me to be an odd requirement.

Bob
This topic is locked and no more replies can be posted.