Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

I want to send a form to a different adress if a checkbox is checked...?

  • 16-07-2002 10:38am
    #1
    Registered Users, Registered Users 2 Posts: 586 ✭✭✭


    Hi all,

    My problem is I want my form to go to it's regular email adress, but if a certain checkbox is checked the form will go to a different adress. Any ideas? I don't want to use a "mailto" solution either.

    Thanks,
    BM.


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    You'll need to use a server-side programming language for either or both (alt address / no mailto). Do you have one available?

    adam


  • Registered Users, Registered Users 2 Posts: 586 ✭✭✭boogie man


    my server supports cgi scripts but I haven't a clue about that kind of stuff. Please help me!!


  • Closed Accounts Posts: 19,777 ✭✭✭✭The Corinthian


    If you don't want to use a "mailto" solution you will have to use server side scripting - CGI in your case.

    However, given server side stuff is not your bag, then you might try just setting up 2 copies of the same form mail CGI (each going to a different address) and handle which script to go to using JavaScript - i.e. change the form ACTION when the onselect event is invoked.

    Configurable form mail CGI's are available on a lot of sites out there, btw. Your host may also be able to help with your requirements.


  • Registered Users, Registered Users 2 Posts: 586 ✭✭✭boogie man


    Thanks for your help, but I came up with my own solution - on the checkbox I put a "onclick, go to URL" behaviour, and set up an identical form with a different email address. A lot less hassle than messing around with scripts that I know very little about!

    BM.


Advertisement