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 31, 2014 @ 22:10
    Richard Barg
    0

    Passing Default Value to Checkbox So Its Checked When Displayed

    If you create a single checkbox field on a Contour form and want it checked by default, there does not seem to be a way to do this. I tried "1" and "true" and the checkbox still displays as empty.

    Is there a way to do this or would this be a feature request.

  • André Nøbbe Christiansen 10 posts 71 karma points
    Aug 01, 2014 @ 01:33
    André Nøbbe Christiansen
    0

    I'm not that much into Contour but I guess you have to make a if statement to check on that inside the macro where you output your form.

  • Richard Barg 358 posts 532 karma points
    Aug 01, 2014 @ 01:52
    Richard Barg
    0

    This is part of the main UI for editors in Contour. You should be able to specify a default value that will check the box w/out programming.

    @Tim G. Where are you? Have you checked out? This is my 5th post w/no response.

    enter image description here

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

    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.

  • MikeD 92 posts 112 karma points
    May 13, 2015 @ 23:54
    MikeD
    0

    Set default value to true works in Umbraco Forms on Umbraco v7.2.4...

  • 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.

Please Sign in or register to post replies