Results 1 to 4 of 4

Thread: Filter Fields query

  1. #1
    Join Date
    Jan 2006
    Posts
    9

    Default Filter Fields query

    Using FormMailEncoder to code all the fields works fine, and the result comes out in the format set in PlainTemplate.

    But I'm having problems filtering so that some fields are encoded and some not. I've followed the last example in the "How To" guide in order to output unencrypted fields using HTMLTemplate and encoded fields using PlainTemplate but what happens is :

    1 The unencrypted fields come through fine using the HTML template
    2 The encrypted fields are coded into the attachment OK, but are not formatted to the PlainTemplate.txt file (they are just the raw data)

    Any ideas?

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Filter Fields query

    Hi,

    I just tried your form and the second page has:
    HTML Code:
        <input type="hidden" name="mail_options" value="PlainTemplate=ticketsh.txt,KeepLines,TemplateMissing=" />
    There's no specification of the HTMLTemplate.

    Am I looking at the wrong form?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jan 2006
    Posts
    9

    Default Re: Filter Fields query

    Russell has let me know how to fix my problem :

    I had specified a PlainTemplate for the encoded fields, but also set filter_fields. Actually, you don't need to set filter_fields - just specify what coded output you want in PlainTemplate.
    So when I remove filter_fields everything works fine.

    The "How To" guide is a bit ambiguous on this point - but many thanks to Russ for sorting it out.

  4. #4
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Filter Fields query

    Hi,

    You're very kind to say the HOW TO guide was "ambiguous".

    Actually, the HOW TO guide was just plain wrong for this particular combination!

    We'll be updating and correcting it today.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Filter not found ?? installing fmencoder
    By wrightb in forum FormMailEncoder/Decoder
    Replies: 9
    Last Post: 20-May-2006, 12:02 AM
  2. Can filter only be used with cgi scripts?
    By Emmy in forum FormMail Subscription Support
    Replies: 2
    Last Post: 16-Oct-2005, 07:43 PM
  3. Formmail 6.00 Query
    By camelot in forum FormMail Subscription Support
    Replies: 2
    Last Post: 10-Mar-2005, 09:58 PM
  4. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 12:25 PM
  5. filter name
    By crabtree in forum FormMailEncoder/Decoder
    Replies: 1
    Last Post: 07-May-2004, 11:38 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
  •