Copied to clipboard

Flag this post as spam?

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


  • Ulla Skaanning 67 posts 97 karma points
    Aug 22, 2010 @ 14:55
    Ulla Skaanning
    0

    validate checkboxlist in createuserwizard form

    Hi all

    I'm building a site for a client who needs their users to be able to sign up for a newsletter in iether danish, english or russian.

    I have the signup form working nicely using asp.net 'createuserwizard'. I've specyfied a wizard step where the user selects checkboxes with the languages he/she wished to receive the newsletter in. BUT, as it is now, the user can continue the signup without selecting ANY languages from the checkboxlist.

    I would like to add a validation to the checkboxlist, that forces the user to select at least one language. Does anyone have a solution for this??

    I must warn you that I am not very familiar with backend ASP.NET programming, so please use very simple, 'foolproof' explanations.

    Thank you :)

    Ulla

    P.S. I found one suggestion as to how this can be achieved - But i don't understand how to execute it in the Umbraco framework. The suggestion can be viewed here: http://codeclimber.net.nz/archive/2007/07/19/How-to-add-a-required-validator-to-a-CheckBoxList.aspx .

  • 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