Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Mar 05, 2018 @ 14:50
    Damon
    0

    Is there a significant bug with Forms radio button validation?

    Umbraco 7.9 Forms 7.0.0

    Hi,

    was using Forms 6.05, Umbraco 7.7.6. Upgraded to the above in attempt to fix this issue but it is still there.

    When you have radio buttons and you want them mandatory, then you cannot submit the form, whether you click on them or not. The mandatory message comes up anyway.

    This seems like a significant bug?

    Thanks,

  • Damon 217 posts 288 karma points
    Mar 05, 2018 @ 15:21
    Damon
    1

    I've fixed this. In FieldType.RadioButtonList.cshtml you need to change data-val-requiredlist to data-val-required

  • Robert Dyson 50 posts 147 karma points c-trib
    Apr 20, 2018 @ 15:09
    Robert Dyson
    0

    Seriously saved me some time. Thank you for posting your fix to this... Did you enter it into the issue tracker?

    I can see an existing ticket here from 2013 which was marked as fixed: http://issues.umbraco.org/issue/CON-438

    Seems to be a similar problem :)

  • Chris Norwood 131 posts 642 karma points
    Feb 20, 2019 @ 11:29
    Chris Norwood
    0

    This still seems to be an issue as of 20/02/19 - additionally, if you're using the bootstrap3-horizontal theme it has its own FieldType.RadioButtonList.cshtml file at:

    ~\Views\Partials\Forms\Themes\bootstrap3-horizontal\Fieldtypes

Please Sign in or register to post replies

Write your reply to:

Draft