Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
237 views
in Q2A Core by

i have one if you can help me i'm a web developer and i dont know how to edit the register page i added in a drop down menu two options for two types of users:
 Doctor
patient

code:

$fields[] = array(

'label' => 'Select Optons',

'tags' => 'NAME="colors" title="select user type(Dr or Patient)"',

'type' => 'select',

'options' => array('patient' => 'patient','doctor' => 'doctor'),

'value' => qa_opt('my_user_type'),

);

if the user choose Doctor then we reuest it's certification and a pic of his id then he get approved by admin 
if the user choose Patient then we request medical history age weight and hight


thank you very much

Please log in or register to answer this question.

...