+ Reply to Thread
Results 1 to 4 of 4

Thread: Using Server Side INI file with a multipage form

  1. #1
    Join Date
    Mar 2008
    Posts
    15

    Default Using Server Side INI file with a multipage form

    How or Can I use the Image Verify function and check it's value using a INI file if I have a multi-page form. I currently installed the image verification on the final page of the multi-page form but my Formmail gets confused and trys to validate it from the first page.

    Darren

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

    Default Re: Using Server Side INI file with a multipage form

    Hi,

    This is a deficiency in the current INI file design.

    The problem is that the INI file is processed on every page of a multi-page form. So, if you make a field required in your INI file, it's required on the submission of every page of the multi-page form.

    And that's the problem you're hitting.

    The workaround, until we implement a more targeted INI file design, is to use conditions instead of required to target the last page.

    Since every page except the last uses "next_form", that's a good field to trigger the condition you want.

    This code in the INI file should work for you:
    Code:
    conditions1 = ":@ @IF@ next_form @@ imgverify @ You must enter the image characters@"
    What this says is: "if 'next_form' is set, do nothing, else, imgverify must be set".

    Let me know how you go with this.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Mar 2008
    Posts
    15

    Default Re: Using Server Side INI file with a multipage form

    worked like a charm. Any progress on my auto results page so I can get started with your module?



    Darren

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

    Default Re: Using Server Side INI file with a multipage form

    Hi,

    I sent you an email regarding this yesterday, with a modified version of your template.

    I'll send it again...
    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. Multipage forms, going back and subsequently losing data!
    By Martinjgriffiths in forum FormMail Subscription Support
    Replies: 1
    Last Post: 31-Jul-2005, 10:01 PM
  2. Combining MultiPage and fmbadhandler.php
    By onno in forum FormMail Subscription Support
    Replies: 11
    Last Post: 09-Jun-2005, 08:05 AM
  3. New Server
    By sectioni in forum FormMail Subscription Support
    Replies: 9
    Last Post: 21-Mar-2005, 03:07 AM
  4. Directing Form to File - Need Help
    By rongreen in forum FormMail Subscription Support
    Replies: 13
    Last Post: 02-Mar-2004, 04:53 AM
  5. Help trying to set up a form to email and send info to file
    By rridsdale in forum FormMail Subscription Support
    Replies: 1
    Last Post: 14-Jan-2004, 03:38 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