• 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: Send to different addresses based on radio button

Send to different addresses based on radio button 13 years 1 month ago #16805

  • deziner76hd
  • deziner76hd's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
Hello
I am not a programmer so I am having a small problem getting a form to do what I want. I need to have the admin email from a form sent to 3 different address depending on which radio button is selected.

if radio button 1 selected send to: This e-mail address is being protected from spambots. You need JavaScript enabled to view it
if radio button 1 selected send to: This e-mail address is being protected from spambots. You need JavaScript enabled to view it
if radio button 1 selected send to: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Any help would be greatly appreciated

Gary
Where there's a will there's a way
Last Edit: 13 years 1 month ago by deziner76hd. Reason: Change to a question
The administrator has disabled public write access.

Re: Send to different addresses based on radio button 13 years 1 month ago #16819

  • matt
  • matt's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 136
  • Thank you received: 14
The administrator has disabled public write access.
The following user(s) said Thank You: deziner76hd

Re: Send to different addresses based on radio button 13 years 1 month ago #16822

  • deziner76hd
  • deziner76hd's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
Hi Matt,
Ok so the form sends to the correct e-mail address but I have an issue with what is sent through the admin E-mail. The return for the radio button is the email address.

Would You Like To Participate? : This e-mail address is being protected from spambots. You need JavaScript enabled to view it

This is what my radio button looks like:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it | Yes I would like to participate.<br />
This e-mail address is being protected from spambots. You need JavaScript enabled to view it | Maybe, but I would prefer more information first<br />
This e-mail address is being protected from spambots. You need JavaScript enabled to view it | No thank you, please remove me from your list.

Is there any way I can get this to send it to the correct address(which it does) AND return the value after the pipe? ie: Yes I would like to participate sent to This e-mail address is being protected from spambots. You need JavaScript enabled to view it


Next question
Can I have a different thank you page for each?
Can I have a different subject line for each admin email?


Thank you for any help you can offer

Gary
Where there's a will there's a way
Last Edit: 13 years 1 month ago by deziner76hd. Reason: Incorrect spelling
The administrator has disabled public write access.

Re: Send to different addresses based on radio button 10 years 4 months ago #29747

  • modernmagic
  • modernmagic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 2
{radio:text}
Last Edit: 10 years 4 months ago by modernmagic.
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!