Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Please help us with verify email :(Please help us with verify email :(
Previous
 
Next
New Post
9/18/2007 5:36 AM
 
Hi

I've been through this forum with a fine tooth comb looking for some indication on how to add a "Verify e-mail" field to the registration page. Basically I would like users that register on my site to verify their e-mail address by entering it twice, and then to compare them to make sure that they match, pretty much the same way the password field and verify password field works.

I must have found over 20 posts from different users in the forum asking how to do this and none of them got a reply either. If someone can help us with this I'm sure there will be lots of happy campers out there.

So please, pretty please, with sugar on top. can anyone help us out?

Regards

Julian
 
New Post
9/19/2007 7:13 PM
 

You will need to modify the code of that page and add a function for validating the email and checking against a duplication.  Sample code would look something like this:


Function check_equalto(original, repeated)

 check_equalto = false

 If (original = repeated) Then
  check_equalto = true
 End If

End Function

If (not check_equalto(FTGReenter, FTGEmail)) Then
 validationFailed = true
 FTGReenter_errmsg = "Email addresses do not match"
 errorList = errorList & FTGReenter_errmsg & "<br/>"
End If

 

That code is being taken from a seperate application.  Digging into the source code of the registration.ascx or manageuser.ascx pages in the solution file would be the way to see how DNN is doing its validation.  From there you could just copy the behavior from the password validation to an email validation.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Please help us with verify email :(Please help us with verify email :(


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out