Forums

Reuse ChronoForms for sending email

Yue_Hong 16 Jun, 2009
How can I reuse ChronoForms that I have created to send email to diffrent reception base on the situation? The situation is like this: I am using ChronoForm to send email for Resorts enquiry. So, how can I have the form to send the mail to different resort? For example, visitor is now on Resort A page, and when he click on enquiry link, it will go to ChronoForm page and after that will send mail to Resort A. Another visitor is browsing Resort B page, and by using the same ChornoForm form, the form will send the mail to Resort B. How can I do this?

Hope you can understand my English....
GreyHead 16 Jun, 2009
Hi Yue-Hong,

You can use a Dynamic To Email in the Email setup. Then set the value of the To address depending on the Resort the visitor was viewing. If you are using links to get to the form then add a resort_id to the url.

Bob
Yue_Hong 17 Jun, 2009
Hi Bob,

Thanks a lot for your reply. How to use Dynamic To Email in the Email setup to create dynamic email functionality? Is there any tutorial on that? Also, how can I set the resort_id in URL to work with the form? If I want to include the form in the content, how to make it work with the id? {chronocontact}resort_enquiry_form_id:1{/chronocontact}?

Thanks.
GreyHead 17 Jun, 2009
Hi Yue-Hong,

The Dynamic To Email field simply takes a field name (no brackets, no quotes) you will need to add code in the OnSubmit Before box to make sure that the correct value is in the field before the email is sent. You can find code here if you search the forums on FAQ31 which is about using a form drop-down to add emails.

There have also been several threads on getting information from page urls into form records - you can't use parameters in the plugin call at present but other methods have been used successfully.

Bob
This topic is locked and no more replies can be posted.