Results 1 to 2 of 2

Thread: help with csv and fmcompute

  1. #1
    Join Date
    Apr 2008

    Default help with csv and fmcompute

    I would like to include an integer computed by fmcompute, the integer is called TotalPoints here is what I am trying to do,

    <input type="hidden" name="fmcompute1" value="
    import function FMFatalError,FMFatalUserError;
    import function FMUserError;
    import int TotalPoints;
    " />

    <input type="hidden" name="csvcolumns" value="email,realname,TotalPoints,Date,Time" />

    but this is not working.. the cvs file gets all columns written to correctly.. except for the TotalPoints column... would you kindly help and point to what I can do to fix it..

  2. #2
    Join Date
    Dec 2003

    Default Re: help with csv and fmcompute


    "import" pulls the field from the form (via FormMail) into the computation.

    What you want to do is go the other way - export from the computation back to FormMail.

    So, instead of "import", use "export".
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cant get fmcompute to work
    By stehl in forum FormMail Computation Module
    Replies: 12
    Last Post: 24-Nov-2009, 04:00 AM
  2. CSV file is still encoded when Filter=CSV
    By redheadkelly in forum FormMailEncoder/Decoder
    Replies: 6
    Last Post: 03-Mar-2009, 09:29 PM
  3. Need a little direction with fmcompute.
    By billy in forum FormMail Computation Module
    Replies: 29
    Last Post: 19-Dec-2008, 01:06 AM
  4. Trouble loading fmcompute module
    By aaron_w in forum FormMail Computation Module
    Replies: 2
    Last Post: 09-May-2008, 01:29 AM
  5. email not sent after fmcompute
    By aussieworld in forum Features Questions
    Replies: 4
    Last Post: 12-Jun-2007, 07:55 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts