Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Writing a custom registration module/control
Previous Previous
 
Next Next
New Post 2/22/2008 7:35 AM
User is offline Joshua Beall
64 posts
www.hslda.org
10th Ranked


Re: Writing a custom registration module/control 

 Sebastian Leupold wrote

validation is always a specific problem - you can create a list in lists table with all payd ID's but how do you verify the user is using his own? you might need to create your own data type and edit control

In order to validate the "constituent ID", in this case, I need to intercept the "validate new registrant information" event, and do my custom validation.

How would you recommend I go about doing that?  If it is to create a custom control, as you mentioned above, how do I get that custom control to show up on the registration page (as opposed to a regular textbox, etc.)?

  -Josh

 
New Post 2/22/2008 7:49 AM
User is offline Joshua Beall
64 posts
www.hslda.org
10th Ranked


Re: Writing a custom registration module/control 

 Sebastian Leupold wrote

The extend use the ManageProfileProperties option in UserAccounts.

I created a new profile property called "constituent ID", but it doesn't show up as a field on the user registration page.  It is marked as a required field on the profile page.  Here's the profile properties page:

DNN Profile Properties

 

Here's the registration page:

Registration Page

 

How do I get it ConstituentID to show up on the user registration page, and be required?  I will also need to do some custom validation on that field, both that the provider level (when creating the user in the system), and probably also at the form level, so they can't submit the form unless it's a valid constituent ID.

 
New Post 4/25/2008 11:38 AM
User is offline Joshua Beall
64 posts
www.hslda.org
10th Ranked


Re: Writing a custom registration module/control 

I eventually stumbled upon the answer to my question elsewhere.

In order for custom profile fields to be visible on the registration page, you have to go to Users Accounts, User Settings, and then check "Require a valid Profile for Registration" (towards the bottom of the settings list)

It would seem that this should be checked by default, rather than unchecked.  Regardless, it needs to be checked, or users will not have the opportunity to set their profile information during registration.

  -Josh

 
New Post 4/25/2008 2:59 PM
User is offline ech01
610 posts
7th Ranked




Re: Writing a custom registration module/control 

By default it is unchecked because the default registration is fairly simple: username, first/last and password which maybe good enough for most sites.  The profile is minimal. When you check that box, your adding a lot more options to the  registration  process.


www.blackhawksurfaces.com | www.nlsales.com | www.midwestfilmandvideo.com
 
New Post 5/9/2008 7:58 AM
User is offline Joshua Beall
64 posts
www.hslda.org
10th Ranked


Re: Writing a custom registration module/control 

I don't quite follow.

If I mark a profile field as required, and uncheck "require valid profile for registration", then the user:

1) Registers on the site
2) Comes to login, and is forced to fill out their profile before continuing

If I mark a profile field as required, and check "require valid profile for registration", then the user simply registers and fills out their profile all in one fell swoop.

The only difference is whether or not the user has to complete their registration in one step, or two steps.  I prefer one step :-)

Regardless, it would probably be helpful if somewhere on the profile manager we had a bit of clarifying text that explained that you have to check "require valid profile for registration" in order to get profile fields (required or not) to show up on the registration page.

Perhaps the best solution would be to only have required profile fields (not all profile fields) show up on the registration page?  For instance, in my case, the only additional profile field I need is "ConstituentID".  But it's showing them a place to fill in every profile field.

  -Josh

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Writing a custom registration module/control
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP