Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am working on some fixes to help a customer become WCAG 2.0 compliant on their government site and found that by default all forms seem to include the following code:
<div style="display: none">
<input type="text" name="@Model.FormId.ToString().Replace("-", "")" />
Firstly, why is this a text field in a hidden div and not a hidden field? Secondly, what is it's purpose given that forms already have the following?
<input type="hidden" name="FormId" value="@Model.FormId" />
I can fix the compliance issue easy enough but want to understand the implementation so I can assess the impact of the options for addressing it.
I've just created an issue for this - http://issues.umbraco.org/issue/CON-1520
This issue was identified by a number of accessibility testing tools we have used on a recent project.
I'm pretty sure this is the honeypot field. Try filling it out, the submission should fail.
My guess is it isn't type="hidden" to prevent spam bots from finding it.
The div could probably be replaced with a label though.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted