SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Form data in an html Email template

    Hi there,

    I am trying to create an html Email template with a form inside of it. How would I go about this? I would like to send out an Email and let the recipient of the Email fill in a form and collect the data.

    Thanks,

    Matt

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,688
    Mentioned
    100 Post(s)
    Tagged
    4 Thread(s)
    The only way to achieve that is to submit the form via the GET protocol, in which you are severely restricted as to the amount of form data that is submitted. You will also find that the form will refuse to work, depending on the email client that the person uses.

    An alternative that guarantees better results, is to encourage the email person to visit your web page where the form can be completed and sent to your web server with far less problems.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help.

    I would usually direct people to visit a site but was asked to help someone with the email form. Managed to convince them to do the web based form option.

    Thanks again,

    Matt

  4. #4
    SitePoint Guru Dijup's Avatar
    Join Date
    Jun 2006
    Location
    Kathmandu, Nepal
    Posts
    790
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it is not the potion to set the form in email because many of the email client may spam the email.

    if there is selection between two things that can be done in email i think using two different parameter in the link but the form is not the option.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •