Select Email ID based on 'a' selected radio button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Verner Vaz

    Select Email ID based on 'a' selected radio button

    Select Email ID based on 'a' selected radio button

    Hello there,

    I have a simple form with some fields to be filled in and when submitted
    is emailed to a couple of email ID.

    Now, this form has 10 radio buttons of which only one can be selected at
    any time.

    Requirement:

    1. When ONE of the radio buttons from no1. to no6 (Out of the total 10
    radio buttons) is selected and the form submitted, its needs to be
    emailed to recepient alpha@example.c om

    2. When ONE of the radio buttons from no7. to no10 (Out of the total 10
    radio buttons) is selected and the form submitted, its needs to be
    emailed to recepient beta@example.co m


    Please can anyone advise on how I can get this done. The website also
    uses some thing like "soupermail " email service.

    Thanks a ton!
    Cheers
    V


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • David Dorward

    #2
    Re: Select Email ID based on 'a' selected radio button

    Verner Vaz wrote:

    [color=blue]
    > 1. When ONE of the radio buttons from no1. to no6 (Out of the total 10
    > radio buttons) is selected and the form submitted, its needs to be
    > emailed to recepient alpha@example.c om
    >
    > 2. When ONE of the radio buttons from no7. to no10 (Out of the total 10
    > radio buttons) is selected and the form submitted, its needs to be
    > emailed to recepient beta@example.co m
    >
    > Please can anyone advise on how I can get this done. The website also
    > uses some thing like "soupermail " email service.[/color]

    This is something that should be dealt with in the form handler. Soupermail
    might have that sort of facility, if not you would have to look at
    installing a different form handler (or writing your own). Either way, the
    solution is not client side JavaScript.

    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    Working...