+ Reply to Thread
Results 1 to 5 of 5

Thread: One more thing about CVS files

  1. #1
    Join Date
    Jun 2005
    Posts
    26

    Default One more thing about CVS files

    Is there a way I can put the env_report in a comma dilemed template doc? Like when I use env_report it just puts it in the form. But I would like to create a comma dilemed template and call the IP address in it with a $something here. Thanks

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

    Default Re: One more thing about CVS files

    Hi,

    Yes, you first derive a field from the env. var.

    See "Obtaining server values" in this HOW TO guide: http://www.tectite.com/fmhowto/derived.php
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jun 2005
    Posts
    26

    Default Re: One more thing about CVS files

    So would i make a hidden field like this:

    <input type="hidden" name="derive_fields" value="env_report= IP" />

    and then on the template call $IP ?

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

    Default Re: One more thing about CVS files

    Hi,

    Some more info...

    To generate a CSV file containing field values, create a Plain Template and attach it to the form results email.

    Here is the HOW TO guide:And my last post on this thread tells you how to attach it using the "null" filter:
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

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

    Default Re: One more thing about CVS files

    Hi,


    So would i make a hidden field like this:

    <input type="hidden" name="derive_fields" value="env_report= IP" />

    and then on the template call $IP ?
    Almost right. This is what the HOW TO guide shows:

    Code:
    <input type="hidden" name="derive_fields" value="ipaddr=REMOTE_ADDR" />
    Then in the template you simply refer to the field you've derived with "$ipaddr".
    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. .htc files
    By darren777 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 27-Jan-2005, 10:14 AM
  2. Attaching Files from forms
    By Chek in forum FormMail Subscription Support
    Replies: 2
    Last Post: 14-Dec-2004, 11:32 PM
  3. Creating CSV files (databases)
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-Aug-2004, 11:45 PM
  4. Uploading files
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 31-Jul-2004, 09:42 PM
  5. cvs file empty? help!
    By zoe77 in forum FormMail Subscription Support
    Replies: 6
    Last Post: 20-Jun-2004, 03:06 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