Results 1 to 3 of 3

Thread: Html form results- blank fields will not show N/A

  1. #1
    Join Date
    Feb 2007
    Posts
    82

    Default Html form results- blank fields will not show N/A

    <input type="hidden" name="mail_options"
    value="HTMLTemplate=mytemplate.htm,TemplateMissing=N/A" />


    My form will submit if every single field is filled out, but if any fields are left blank the form does not submit, so obviously they are not being filled in with N/A as in the above code.

    btw....love the tectite form, I was brand new to posting forms and it has been really good to learn from

    This is my test form, and the only required field is realname
    http://www.nmprc.state.nm.us/testonlineform.htm

    oh, one more btw...it works great with a plain.txt template, its just that I was trying to upgrade to a prettier one
    Last edited by kdeguero; 09-Feb-2007 at 07:59 PM.

  2. #2
    Join Date
    Dec 2005
    Posts
    74

    Default Re: Html form results- blank fields will not show N/A

    Try this:

    HTML Code:
    <input type="hidden" name="mail_options" value="HTMLTemplate=mytemplate.htm,NoEmpty=true,TemplateMissing=N/A" />
    Note addition of NoEmpty=true,

    George

  3. #3
    Join Date
    Feb 2007
    Posts
    82

    Default Re: Html form results- blank fields will not show N/A

    thanks for the input...
    I tried it and it let the form post, but the results to email were not in the htm format I was using.
    I finally just changed the N/A to blank and it seems to have started working.
    i am really happy with the tecctite php
    I got the form to pop up the submission results and the results are sending in an html format that looks nice.

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, 06: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, 08:31 PM
  3. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 12:25 PM
  4. Submitted form output onto HTML page?
    By LKimber in forum FormMail Subscription Support
    Replies: 2
    Last Post: 13-Apr-2004, 10:39 AM
  5. not so intersting results
    By expisp in forum FormMail Subscription Support
    Replies: 4
    Last Post: 10-Feb-2004, 07:15 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
  •