+ Reply to Thread
Results 1 to 2 of 2

Thread: Variable passed to the subject field on an HTML form page.

  1. #1
    Join Date
    Jun 2012
    Posts
    1

    Default Variable passed to the subject field on an HTML form page.

    Good afternoon,

    I am new to using the formmailer.php script with my godaddy hosted website, however I almost have it working the way I need, except that I cannot determine how to pass a variable to the subject field of the email...

    I have two radio buttons on my HTML page to Subscribe or Unsubscribe and named "CalendarListOption". I would like to just get the value of this radio button selection and make that value my subject for a subscription emailer.

    I also noticed that the fields on my confirmation page are the fieldnames and not the values. I guess I missed something!

    Can someone please tell me how to go about this?

    Thank you
    -Gary
    Last edited by GaryBouchard; 04-Jun-2012 at 09:15 PM. Reason: Additional Info

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Variable passed to the subject field on an HTML form page.

    Quote Originally Posted by GaryBouchard View Post
    Good afternoon,

    I am new to using the formmailer.php script with my godaddy hosted website, however I almost have it working the way I need, except that I cannot determine how to pass a variable to the subject field of the email...

    I have two radio buttons on my HTML page to Subscribe or Unsubscribe and named "CalendarListOption". I would like to just get the value of this radio button selection and make that value my subject for a subscription emailer.
    u can derive the subject field:

    http://www.tectite.com/fmhowto/derived.php

    like this:
    HTML Code:
    <input type="hidden" name="derive_fields" value="subject=CalendarListOption" />

    I also noticed that the fields on my confirmation page are the fieldnames and not the values. I guess I missed something!

    Can someone please tell me how to go about this?
    u need a template. use "good_template" instead of "good_url":
    http://www.tectite.com/fmhowto/redir.php

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Adding variable to subject line
    By dthsryder in forum Community Support
    Replies: 1
    Last Post: 18-Aug-2009, 04:30 AM
  2. Form Field Value in HTML Email Subject Line
    By dmarion in forum Community Support
    Replies: 5
    Last Post: 12-Feb-2009, 05:20 PM
  3. Replies: 2
    Last Post: 05-May-2008, 12:02 PM
  4. Message subject to include variable
    By unreal2me in forum Community Support
    Replies: 0
    Last Post: 29-Nov-2007, 05:32 PM

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