+ Reply to Thread
Results 1 to 3 of 3

Thread: Using CSV and good_template?

  1. #1
    Join Date
    Aug 2005
    Posts
    6

    Default Using CSV and good_template?

    I have had success in using both the CSV files, and the good_template to create an HTML page that uses data from the form.

    However, If I try using both CSV and good_template together, everything appears to work fine ... it sends me to the good_template, but I do not get any data in my txt file?

    Am I not able to use them both?

    Here is what I am using on the form page:

    <FORM METHOD=POST ACTION="http://www.signuplink.com/formmail6.php">
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
    <input type="hidden" name="recipients" value="admin@challengeinternational.com" />
    <input type="hidden" name="required" value="company,contact,position,prefix,phone,address,Email,phone" />
    <input type="hidden" name="csvfile" value="http://www.signuplink.com/freephone.txt" />
    <input type="hidden" name="csvcolumns" value="agent,company,contact,position,prefix,phone,address,Email,phone" />
    <input type="hidden" name="subject" value="Phone Conference Free" />
    <input type="hidden" name="mail_options" value="Exclude=email;realname" />
    <input type="hidden" name="agent" value="cii">
    <input type="hidden" name="good_template" value="freeconference.htm" />

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

    Default Re: Using CSV and good_template?

    Hi,

    Both options work together.

    BTW, you have:

    <input type="hidden" name="csvfile" value="http://www.signuplink.com/freephone.txt" />
    That's not the correct way to specify csvfile.

    You should set CSVDIR in FormMail to a directory path, and then use just a file name in "csvfile".

    The reason what you have works is that FormMail strips down to just "freephone.txt".

    Anyway, that's a diversion.

    So, you're saying that if you leave just the "good_template" field out, FormMail writes to the CSV file, but if you put it in, it doesn't write to the file.

    Is that correct?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Aug 2005
    Posts
    6

    Default Re: Using CSV and good_template?

    Thanks

    I had an error in the CSVDIR. Everything is working fine now.

    Ric

+ 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. Meta Tag - Refresh URL in good_template - ?possible?
    By DGuess in forum Community Support
    Replies: 1
    Last Post: 18-Sep-2006, 01:28 AM
  2. testing for vars in good_template?
    By mediachrome in forum Community Support
    Replies: 0
    Last Post: 19-Jun-2006, 02:16 PM
  3. good_template
    By vivaxone in forum FormMail Subscription Support
    Replies: 1
    Last Post: 06-May-2005, 09:15 PM
  4. good_template issue, please advise...
    By nhouse in forum FormMail Subscription Support
    Replies: 4
    Last Post: 08-Mar-2005, 09:56 PM
  5. Fields in good_template
    By NOgbourne in forum FormMail Subscription Support
    Replies: 4
    Last Post: 31-Oct-2004, 09:15 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