Results 1 to 5 of 5

Thread: Using the ini file

  1. #1
    Join Date
    Jan 2009
    Posts
    3

    Default Using the ini file

    I want to "exclude" the "Submit" from the emailed form results in the .ini.

    I have my .ini file in use for "required", so the .ini is being seen by formmail, no problem there, however I can't seem to find a way to supress the "Submit" being emailed as a form result, either in the .ini or otherwise.

    I tried:

    [mail_options]
    Exclude = "Submit"

    I'm not sure if I can code it into formmail.php as a setting somewhere I can't find, or if the only option is putting it into the html form.

    Thanks.

    Wes

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Using the ini file

    if u want to put it in the iNI file, it goes in the [special_fields] section:

    Code:
    [special_fields]
    mail_options = "Exclude=Submit"
    just as easy to put it in the HTML form

    note u can't have mail_options in both (the INI file overrides)

  3. #3
    Join Date
    Jan 2009
    Posts
    3

    Default Re: Using the ini file

    Thanks.

    I can get it to work putting this in the html:
    Code:
    <input type="hidden" name="mail_options" value="Exclude=Submit" />
    But I can't get it to work with this in the .ini:
    Code:
    [special_fields]
    mail_options = "Exclude=Submit"
    Do I have to set a hiden input in the html?

    Thanks.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Using the ini file

    oh yeah sorry.

    there are some mail_options that won't work in the INI file.

    check the comment about this around line 10980

    i htink Exclude is one of htem

    no matter - just put it in ur HTML - ur not losing anything by doing that

  5. #5
    Join Date
    Jan 2009
    Posts
    3

    Default Re: Using the ini file

    Cool. Thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mutiple recipients not working with ini file
    By saejoon in forum Bug Reports
    Replies: 3
    Last Post: 25-Sep-2006, 05:53 PM
  2. mutiple recipients not working with ini file
    By saejoon in forum Community Support
    Replies: 1
    Last Post: 19-Sep-2006, 09:51 PM
  3. Trouble with the formmail ini function
    By Carina in forum Community Support
    Replies: 3
    Last Post: 17-Sep-2006, 02:48 PM
  4. Replies: 1
    Last Post: 23-Aug-2006, 09:32 PM
  5. Formmail ini file
    By Wayne Hammond in forum Features Questions
    Replies: 5
    Last Post: 28-Jun-2006, 02:05 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
  •