+ Reply to Thread
Results 1 to 5 of 5

Thread: HTML Form

  1. #1
    Join Date
    Jan 2011
    Posts
    15

    Default HTML Form

    Hi guys

    I've got everything working perfectly with my form sending a nice HTML email to my inbox. My dilemma right now is that I'm basically trying to send HTML via one of the hidden values. I've got it sending fine (thanks Russell from earlier today) and inserting it where I want in the HTML template using $CartData. However it's just treating it as text, and not source code. Is there any way I can tell it to actually use it as code and not treat it as text?

    Thanks!

  2. #2
    Join Date
    Jan 2011
    Posts
    15

    Default Re: HTML Form

    This isn't possible to perform? Or maybe I didn't explain very clearly.

  3. #3
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: HTML Form

    Hi,

    Any field values are expanded as HTML "entities" when placed in a template.

    This means you can't add HTML code via a hidden field.

    This is an important security feature.

    What you can do is use our Advanced Templates feature to enable or disable sections of HTML in a template. This avoids any security problems.

    However, this is a feature of our non-free Computation Module (current price is US$245).
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #4
    Join Date
    Jan 2011
    Posts
    15

    Default Re: HTML Form

    Quote Originally Posted by russellr View Post
    Hi,

    Any field values are expanded as HTML "entities" when placed in a template.

    This means you can't add HTML code via a hidden field.

    This is an important security feature.

    What you can do is use our Advanced Templates feature to enable or disable sections of HTML in a template. This avoids any security problems.

    However, this is a feature of our non-free Computation Module (current price is US$245).
    Hi Russell,

    This is a feature that I'm going to need, so it looks like I'll need to purchase the Module. Just a few quick questions:

    - Is it a one time fee or is that the annual license fee?
    - Is it easy enough to do what I'm trying to do using the module? All I need to do here is to switch off the html entities on that field.

    Thanks Russell.

    P.S. I'm in Brisbane - is the price $245USD or $264AUD as listed on the web? Many thanks.

  5. #5
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: HTML Form

    Hi,

    Quote Originally Posted by Ryn View Post
    This is a feature that I'm going to need, so it looks like I'll need to purchase the Module. Just a few quick questions:

    - Is it a one time fee or is that the annual license fee?
    It's a one-time fee. You get the complete source code and can use it on multiple sites you own.

    - Is it easy enough to do what I'm trying to do using the module? All I need to do here is to switch off the html entities on that field.
    It's easy to do and we'll show you how.

    Here's a quick example:
    HTML Code:
    <if "$SendHTML">
    <p>
    This is any HTML stuff you want to include in the output of the template.
    </p>
    <div>
    There is no enforced size limit or restrictions on the <a href="javascript:alert('HTML is cool');">HTML</a> you can include.
    </div>
    </if>
    P.S. I'm in Brisbane - is the price $245USD or $264AUD as listed on the web? Many thanks.
    As an Aussie, your price is AUD$264.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ 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. Sample HTML Form Using FormMail
    By russellr in forum FormMail
    Replies: 1
    Last Post: 21-Mar-2007, 07:49 AM
  2. Sending form results in an HTML email
    By russellr in forum HOWTO Guides and Tips
    Replies: 26
    Last Post: 12-Jan-2006, 09:31 PM
  3. Html form needs image verification for submit
    By craigatkin in forum FormMail Subscription Support
    Replies: 2
    Last Post: 18-Mar-2005, 11:13 PM
  4. Variables in HTML form - assigning input type
    By tvulucy in forum FormMail Subscription Support
    Replies: 4
    Last Post: 28-Oct-2004, 09:03 PM
  5. Submitted form output onto HTML page?
    By LKimber in forum FormMail Subscription Support
    Replies: 2
    Last Post: 13-Apr-2004, 11:39 AM

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