Copied to clipboard

Flag this post as spam?

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


  • Gonçalo Fonseca 3 posts 73 karma points
    May 03, 2020 @ 11:49
    Gonçalo Fonseca
    0

    Radio Button not working on register

    Hi!

    So, I'm having an issue with Radio Button when doing the Register Member.

    I have this property: enter image description here

    And on the view, I have this to receive the info on the member register:

    <div>
        @Html.LabelFor(m => m.Authorization, "Autorização para contacto:")
        <br />
        <p>@Html.RadioButtonFor(m => m.Authorization, "Dou autorização para o contacto.") <span class="smaller">@Html.LabelFor(m => m.Authorization, "Dou autorização para o contacto.")</span></p>
        <p>@Html.RadioButtonFor(m => m.Authorization, "Não dou autorização para o contacto.") <span class="smaller">@Html.LabelFor(m => m.Authorization, "Não dou autorização para o contacto.")</span></p>
        @Html.ValidationMessageFor(m => m.Authorization)
    </div>
    

    This issue I'm having is that, when I register the user, and put this option here:

    enter image description here

    When I check the created member, nothing was selected like it shows here: enter image description here

    Please help me!

    Thanks!

  • 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