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.
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 .
is working on a reply...