Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Barg 358 posts 532 karma points
    Jul 21, 2014 @ 23:25
    Richard Barg
    0

    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?

  • Richard Barg 358 posts 532 karma points
    Aug 06, 2014 @ 18:12
    Richard Barg
    0

    @Tim The passed checkbox value should be a 1 or a zero. This would have been an easy thing to resolve.

  • Richard Barg 358 posts 532 karma points
    Aug 06, 2014 @ 19:03
    Richard Barg
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft