Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS forms

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23370
    mshort
    Member

    hi all,

    is it possible to create a form that will send an email to different email addresses based on what is entered in the form?

    say for example there was a company who had branches all over the world, but one centralized website that they all used. and on the contact form they wanted the customers to beable to choose what country they are from and then send the form data to the appropriate person?

    I hope I explained it clear enough :-)
    thanks

    #50378
    Cotton
    Member

    The simple answer: yes.

    How are you handling your form? If your using php then you can do a simple if, else if statement to set a variable for the to address based on the input of your form.

    Code:
    #50381
    mshort
    Member

    Thanks cotton thats exactly what I needed :-)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.