Results 1 to 4 of 4

Thread: Can the Form Handler deliver an email with both Question and Answers?

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    6

    Default Can the Form Handler deliver an email with both Question and Answers?

    Can the Form Handler deliver an email with both Question and Answers like this example below? If so HOW?

    Q) What Operating System are you using?
    A) Windows 7

    Q) Please categorize your question.
    A) Forms

    Q) What is your serial number?
    A) Form Handler ERROR 500?

    Any ideas?

    Thanks
    JP

  2. #2
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    No, but you can do this very easily using coldfusion.

    You can also do it with other dynamic languages but it is more complex to code
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  3. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    6

    Default

    Too bad I don't write ColdFusion code :-( I'm really looking for a NetObjects Fusion method

  4. #4
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Quote Originally Posted by JP DZahr View Post
    Too bad I don't write ColdFusion code :-( I'm really looking for a NetObjects Fusion method
    There is no "easy" option for what you want to do.

    You can use the forms labels in the component to get a better understood email but you are not going to get custom formatting of the email

    Have you gone over my tutorial on using the component?

    http://www.gotfusion.com/tutorials/tut.cfm?itemID=4024

    It is multi page so keep clicking the next button at the bottom to go through all of the pages

    Forms are the bane of everyone's existence. Coldfusion allows you to process form input and send plain text emails with form content interspersed

    Example coding of your requst:

    <cfmail to="your-email-address" from="#email_formfield# " subject= "#formfield_select_issue#">

    Q) What Operating System are you using?
    A) #OS_formfield#

    Q) Please categorize your question.
    A) #formfield_question1#
    . . #formfield_question2#


    Q) What is your serial number?
    A) #SN_formfield#

    </cfmail>


    the first line tells coldfusion you want to process form input and send email "to" an address (you tell it where to send the email), where the email came from (someone entered their email address in the for so you tell CF to use that), and the subject which can be fixed text you enter in the subject=" " OR you can get it from the input form if you give the option to choose what the message is about within your form input.

    Within the body of the email (after the opening cfmail tag) you can put whatever you want as text. Any form fields you just wrap with # # which tells CF that what is between the # # is a form variable and use what the visitor entered into that "named" field

    When you are done you just close it up with the closing cfmail tag </cfmail>

    ColdFusion is as simple to work as HTML as it is a tag based language (no cryptic mumbo jumbo coding to remember)

    All you need to use ColdFusion is a web host that provides it with their hosting packages. Ask your web host if they offer coldfusion
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

Tags for this Thread

Posting Permissions

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