Interactive registration form
Posted: August 5th, 2011, 12:18 am
Hi all,
I am sure there are several ways to achieve this so what I am really asking is for is ideas on how to do this simply, efficiently and easily. Easily being the operative word.
What I would like is a user registration form that changes depending on a few options, for example...
A prospective new user goes to the reg form, enters their basic required data:
User name
Real name
email
Then we have a section of check boxes for example:
{} I am a carpenter
{} I am a Journalist
{} I am a Programmer
{} I own my own business or work for myself
{} I am a full or part time employee at a company
Now hide or show what fields are displayed to be filled in based on the check boxes and
(I am presuming required fields that are not displayed will not cause an error in the background) so:
If is carpenter then show fields 1, 2 & 3
elseIf is Journalist then show fields 1,2 & 4
elseIf is Programmer then show fields 1,5 & 6
If is Business owner then show fields 8 & 9
elseIf is Employee then show fields 8, 9, 10
You get the idea.
Now, I have to say that while I have fought my way through doing some minor modifications,I am no where near even OK with php. If I was I suspect I wouldn't be asking this
I will also say that if you think I am biting off more than I should be chewing at this point I can accept that too. This is sort of a really nice to have but not a do or die situation.
It may be useful to also know that I have s2Pro so have access to that feature set.
Many thanks, DP
I am sure there are several ways to achieve this so what I am really asking is for is ideas on how to do this simply, efficiently and easily. Easily being the operative word.
What I would like is a user registration form that changes depending on a few options, for example...
A prospective new user goes to the reg form, enters their basic required data:
User name
Real name
Then we have a section of check boxes for example:
{} I am a carpenter
{} I am a Journalist
{} I am a Programmer
{} I own my own business or work for myself
{} I am a full or part time employee at a company
Now hide or show what fields are displayed to be filled in based on the check boxes and
(I am presuming required fields that are not displayed will not cause an error in the background) so:
If is carpenter then show fields 1, 2 & 3
elseIf is Journalist then show fields 1,2 & 4
elseIf is Programmer then show fields 1,5 & 6
If is Business owner then show fields 8 & 9
elseIf is Employee then show fields 8, 9, 10
You get the idea.
Now, I have to say that while I have fought my way through doing some minor modifications,I am no where near even OK with php. If I was I suspect I wouldn't be asking this
I will also say that if you think I am biting off more than I should be chewing at this point I can accept that too. This is sort of a really nice to have but not a do or die situation.
It may be useful to also know that I have s2Pro so have access to that feature set.
Many thanks, DP