Hi,
I am creating a form using chronoform component and wants to have certain functionalities.
1) An email id has to be unique - once user has submitted the form with an email id cannot submit it again
2) I have 3 radio buttons : radio1 , radio2, radio3
On submission of form, I want to save the form in database and achieve different functionalities as below:
1) When user selects radio1 = a specific message must be sent along with the form details
2) When user selects radio2 = another mail must be sent with form details. Also fields like address and city must become required.
3) When user selects radio3 = email with form details must be sent and user must be redirected to paypal page
For now, I am calling DB save, email and display message methods in On submit event. But every time same email is being sent to the user.
Please guide me through this that how can I send different emails+ form details to the user and also to validate unique email id.
Thanks in advance for any help
I am creating a form using chronoform component and wants to have certain functionalities.
1) An email id has to be unique - once user has submitted the form with an email id cannot submit it again
2) I have 3 radio buttons : radio1 , radio2, radio3
On submission of form, I want to save the form in database and achieve different functionalities as below:
1) When user selects radio1 = a specific message must be sent along with the form details
2) When user selects radio2 = another mail must be sent with form details. Also fields like address and city must become required.
3) When user selects radio3 = email with form details must be sent and user must be redirected to paypal page
For now, I am calling DB save, email and display message methods in On submit event. But every time same email is being sent to the user.
Please guide me through this that how can I send different emails+ form details to the user and also to validate unique email id.
Thanks in advance for any help