• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Sending an email depending the option selected

Sending an email depending the option selected 17 years 1 month ago #2299

  • xoxo
  • xoxo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello everybody!

I'm buildig right now a Joomla website and I have a very specific need from a form. I would like to now if this is possible...

I would like to have a form with country selection taken from a database.

Can an email be sent to a different address depending on the selected country?

If RSJoomla Form can do this... I definitely buy it right now!! :woohoo:<br><br>Post edited by: xoxo, at: 2008/04/06 11:53
The administrator has disabled public write access.

Re:Sending an email depending the optio selected 17 years 1 month ago #2313

  • xoxo
  • xoxo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I have found a solution with chronoforms...

www.chronoengine.com/component/option,co...,24/Itemid,38/#faq31

Can this be done in RSform ?

Thank you very much!!
The administrator has disabled public write access.

Re:Sending an email depending the optio selected 17 years 1 month ago #2331

  • dniezby
  • dniezby's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 136
  • Thank you received: 2
Chronoform operates completely different than RSForm... I used to use Chronoform and there are some features that I really like about it but I opted to stay with RSform because it's speed of form creation and usability. With Chronoform you need to know HTML and other scripting. RSForm can be done without knowing an ounce of code.

That being said, for what you DO want to do, you will need to learn some code.

I would probably do something like this:
Create a hidden field and call it destination.

In the \"eMails\" tab add {destination} for where you want the results sent.

Create a script in the \"onSubmission\" section of the form to check for the response and change the eMail destination. I can't help you with that much right now; I just don't have the time but if you do the research you will learn how to do it yourself.

Look for PHP's \"switch\" statement and begin there.
Dave Niezby
www.nsfilms.com
Nightshade Studios, CEO
The administrator has disabled public write access.

Re:Sending an email depending the optio selected 17 years 1 month ago #2419

  • xoxo
  • xoxo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Ok dniezby, thanks for reply.

I have little knowledge about PHP and I have understand what you have said. Another thing is to get it working... :laugh:

If RSform allows me to add code in \"onsubmission\" I think will be fine.

I will post my advances on this, in case it helps anybody.

Best regards!
The administrator has disabled public write access.

Re:Sending an email depending the optio selected 17 years 3 weeks ago #2634

  • jtrait
  • jtrait's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
xoxo, I'm curious to find out if you ever got this to work. And of course if you did, would you mind sharing the code to save others the research time??
The administrator has disabled public write access.

Re:Sending an email depending the option selected 17 years 3 weeks ago #2640

  • xoxo
  • xoxo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello!

For this project, I have decided to go out from Joomla and have my form managed by formtools.org.

Now I'm considering RSform for a project I'm going to start right now.

Thanks for all your support! Best regards!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!