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
Currently (3.0.9) hidden fields do not have the ID attribute. I added a bug report to the issue tracker at http://issues.umbraco.org/issue/CON-327
In the meantime, if you are using code that requires you to access the hidden field, use the name property instead. For example, to set the value of a hidden field using jQuery you would use this (where myValue is a defined variable):
$('[name="c81f64512-7b29-32c9-58dc-914109f4ed47"]').val(myValue);
Comment author was deleted
Thanks for reporting, issue has been fixed and will be part of 3.0.10
To patch on a existing 3.0.9 install you can simply update the view
\Umbraco\plugins\umbracoContour\Views\FieldType.HiddenField.cshtml
And make sure the name and id attribute are correct
name="@Model.Name" id="@Model.Id"
Cheers,Tim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
hidden fields do not contain the ID attribute - bug report filed
Currently (3.0.9) hidden fields do not have the ID attribute. I added a bug report to the issue tracker at http://issues.umbraco.org/issue/CON-327
In the meantime, if you are using code that requires you to access the hidden field, use the name property instead. For example, to set the value of a hidden field using jQuery you would use this (where myValue is a defined variable):
Comment author was deleted
Thanks for reporting, issue has been fixed and will be part of 3.0.10
To patch on a existing 3.0.9 install you can simply update the view
\Umbraco\plugins\umbracoContour\Views\FieldType.HiddenField.cshtml
And make sure the name and id attribute are correct
name="@Model.Name" id="@Model.Id"
Cheers,
Tim
is working on a reply...