K
Ken Fine
I am using ASP.NET's CreateUserWizard control. I want to force the visitor
to use a username and e-mail address that I am providing in programming, and
I do not want the visitor to be able to edit the forms input.
I am aware that I can roll my own Create User form by using the membership
API, but I am lazy and want to use most of the CreateUserWizard control's
features.
I tried converting the form to a template and setting the UserName and Email
forms to Enabled="false" and populating their values programmatically. The
client-side validation behaviors prevent this from working: the non-enabled
items get red asterisks on input.
I imagine I could set the value for the names/e-mails in programming
regardless of the user's input, but I want to cue the visitor that they are
not allowed to change these values from what I am specifying.
Suggestions?
Thanks,
-KF
to use a username and e-mail address that I am providing in programming, and
I do not want the visitor to be able to edit the forms input.
I am aware that I can roll my own Create User form by using the membership
API, but I am lazy and want to use most of the CreateUserWizard control's
features.
I tried converting the form to a template and setting the UserName and Email
forms to Enabled="false" and populating their values programmatically. The
client-side validation behaviors prevent this from working: the non-enabled
items get red asterisks on input.
I imagine I could set the value for the names/e-mails in programming
regardless of the user's input, but I want to cue the visitor that they are
not allowed to change these values from what I am specifying.
Suggestions?
Thanks,
-KF