Custom Registration Pages |
5/28/2013 2:02:13 PM |
PHPRunner General questions | |
D
DouglasB author
I need 3 different registrations. One for the general public, one for current contractors and one for new contractors. phpRunner it seems can only support 1 registration page (http://www.asprunner.com/forums/topic/20823-custom-view-of-registration-page/pagehlregistration%20pagesfromsearch1). Has anyone come up with a usable work around for this? I'm thinking perhaps, 3 different projects each with their own registration page but all attached to the same DB?
|
|
C
|
cgphp 5/28/2013 |
You could use a single registration page with a dropdown field with the "General Public", "Current Contractor" and "New Contractor" values. As Sergey said in the thread above, if your registration forms are similar and the only difference is the number of fields to fill you can get away with a single registration form hiding some fields when necessary. |
D
|
DouglasB author 5/28/2013 |
You could use a single registration page with a dropdown field with the "General Public", "Current Contractor" and "New Contractor" values. As Sergey said in the thread above, if your registration forms are similar and the only difference is the number of fields to fill you can get away with a single registration form hiding some fields when necessary.
|
![]() |
Sergey Kornilov admin 5/28/2013 |
Just wanted to point that the matter of hiding certain fields on Register page is a relatively simple topic: |
D
|
DouglasB author 5/28/2013 |
Just wanted to point that the matter of hiding certain fields on Register page is a relatively simple topic: http://xlinesoft.com/phprunner/docs/hide_controls_on_add_edit_pages.htm
|
![]() |
Sergey Kornilov admin 5/28/2013 |
Of course user level is not defined there, this is just an example of how you can hide controls. It's up to you what sort of logic to use in order to hide controls. $xt->assign("Horsepower_fieldblock", $_GET["param"]=="new"); |