This is a discussion on "Custom questions on registration form" within the Website Planning section. This forum, and the thread "Custom questions on registration form are both part of the Planning Your Website category.
|
|
|
|
|
![]() |
||
Custom questions on registration form
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hey all
Can anyone get their heads around this problem, which I've been asked to look into by a client with the hope of adding it to their website... The site is a careers exchange, with two types of free membership - Agencies, and Applicants. The site is hosted on RedHat Linux, and built using PHP5/MySQL. The Agencies want the option to add five custom questions to the Applicant's registration form. Basically, depending on what vacancy they're applying for - that Agency's custom questions should be displayed (if any). Does this make sense? Hope so - I've tried all ways but as yet the solution remains a little illusive! Thanks in advance John Darecia Interactive www.darecia.com |
|
|
|
||||
|
Re: Custom questions on registration form
The question is still a bit vague. When do you want to display the custom fields? If its after the page is loaded then you'd have to do it with javascript. Otherwise you could either output the fields for an agency or applicant using PHP.
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Custom questions on registration form
Hi
The custom questions would be shown once the applicant has chosen a vacancy to apply for. This link would carry the vacancy ID number which would also show which Agency the ad belongs to (ie, in the database in an 'owner' column). When they click on the 'Apply Now' link, they are taken to the application form, which would have the Agency's custom questions displayed for them to complete. (They are also prompted to log-in if they have not already done so). Hope that made it a little clearer? Thanks! John Darecia Interactive www.darecia.com |
|
||||
|
Re: Custom questions on registration form
Do you need help reading the questions out of the databank? Or out-putting them? Some code would help.
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Custom questions on registration form
That would be easy to do if you know a bit of PHP (I assume you want to code it in PHP).
All you have to do is store the custom questions that the Agency creates when it posts a job. You can store these questions in a database or in a text file and associate the questions with a job ID. When a user tries to apply for a particular job, you have to pull the questions associated with that job from the database or the textfile. I could write skeleton code to do if I had the time. |
|
||||
|
Re: Custom questions on registration form
Yea, that's simple enough. Even if you're a beginner it shouldn't be that hard to accomplish. Feel free to ask more questions when you start coding.
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
![]() |
| Tags |
| custom forms |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom CSS | unitedcraig | Webforumz Suggestions and Feedback | 2 | Feb 11th, 2008 17:51 |
| Registration form | deepujbhat | Other Programming Languages | 4 | Aug 2nd, 2007 12:57 |
| Registration script | cullinanweb | PHP Forum | 6 | Feb 6th, 2007 13:33 |
| registration form in php | ksuguy24 | Flash & Multimedia Forum | 5 | Jul 11th, 2006 21:17 |
| Login / Registration help | Noobie | PHP Forum | 1 | Apr 14th, 2006 14:01 |