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 ...User Registration and validationUser Registration and validation
Previous
 
Next
New Post
2/3/2014 5:16 PM
 

Hi everyone,

I would like to be able to validate the user entry during the registration process. Is that possible using the default registration method on DNN 7?

For example, I want to ask users their zip code and make sure that the zip code exists on my database.

 

Thanks,

Kathy

 
New Post
2/3/2014 7:38 PM
 
you would have to write custom user profile properties if you want to do that (the existing properties support regular expressions, but not database lookup)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/3/2014 7:43 PM
 
You can use the OnyakTech Forms to create your custom user registration with database validation on the Zip code.  To get started quickly, you could just copy the sample user registration form that is included with the module.


Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
2/3/2014 8:51 PM
 
cathal connolly wrote:

you would have to write custom user profile properties if you want to do that (the existing properties support regular expressions, but not database lookup)

 Can you point me on the direction on programming the validation. I created the custom profile property but I'm stuck on being able to write the code for validation.

Thanks

 
New Post
2/4/2014 2:27 PM
 
there are many different ways - in DNN probable the easiest is to use the DAL+ (http://www.dnnsoftware.com/community-...) and write a query such select * from tablewithzipcodes where [email protected] and check if a value is returned or not

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...User Registration and validationUser Registration and validation


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out