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

A form in a HTML email

  • 28-01-2011 10:47am
    #1
    Registered Users, Registered Users 2 Posts: 2,789 ✭✭✭


    I'd like to know what flavor of code I'd need to put together a HTML email with a form where depending on the radio button selected it would generate another email response.

    e.g.

    Do you want?

    [•] x
    [•] y
    [•] z
    Submit

    (Where each option then sends a different email)


Comments

  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    Asking for trouble there tbh. HTML emails are tricky at the best of times because the number of email clients in common use is way bigger than the number of browsers in common use, and the email clients all have their own way of parsing and displaying HTML emails.

    In most cases, you're still restricted to using tables and images to get things to look the way you want.

    Most email clients will not allow you to embed a form in the email, too much of a security risk.

    The easiest way to do it is to insert links in the email. When the user clicks the relevant link, then you can do what you like with the info.

    If you're trying to do some kind of game where the user chooses their next step, then you can embed a userid or similar in the link so that they can only click one link before the other two become invalid.


  • Registered Users, Registered Users 2 Posts: 1,266 ✭✭✭Overflow


    Almost all email clients do not allow the execution javascript and the posting of forms as it is a major security risk. As said above, include a link to the form you need the user to complete.


Advertisement