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
The following works fine:
3 checkbox values in Umbraco node:
Apple Orange Pear
Hidden field w/default value of "Pear" successfully matched to node in content area.
vs.
1 checkbox value in Umbraco node - "Yes"
Hidden field w/default value of "Yes" (or "True") NOT successfully matched to node in content area.
@Tim - is this another bug w/a single checkbox? For a single checkbox, should the value be Yes or True?
@Tim The passed checkbox value should be a 1 or a zero. This would have been an easy thing to resolve.
Clarification:
If the goal is to check a checkbox on the intended (save as) Umbraco document this works, but only if you make this a hidden field and use 1 or 0. There is no way to use a check box field to check a box by default in the form itself.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Single Checkbox Value not Not Reflecting Default Value in Save Umbraco Form
The following works fine:
3 checkbox values in Umbraco node:
Apple Orange Pear
Hidden field w/default value of "Pear" successfully matched to node in content area.
vs.
1 checkbox value in Umbraco node - "Yes"
Hidden field w/default value of "Yes" (or "True") NOT successfully matched to node in content area.
@Tim - is this another bug w/a single checkbox? For a single checkbox, should the value be Yes or True?
@Tim The passed checkbox value should be a 1 or a zero. This would have been an easy thing to resolve.
Clarification:
If the goal is to check a checkbox on the intended (save as) Umbraco document this works, but only if you make this a hidden field and use 1 or 0. There is no way to use a check box field to check a box by default in the form itself.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.