Results 1 to 9 of 9

Thread: formmail problem

  1. #1
    Join Date
    Apr 2007
    Posts
    21

    Default formmail problem

    Hi !
    I have some problem with my formmail and I need to fix it.

    1 Autorespond are not working.
    <p><img src="http://www.myhost.com/verifyimg.php" alt="Image verification" name="vimg" />&nbsp;<br />

    Please enter the characters* <br />
    <input type="text" size="12" name="arverify" maxlength="6" />

    I got 2 emails when the characters dismatchs. 1 error mail to the $DEF_ALERT mail and I want that option. The other mail are sent to the $TARGET_EMAIL with form result. I don't want to receive e-mails to $TARGET_EMAIL when users enter wrong characters. I renamed the "arverify" field to "imgverify" but autorespond are not working at all.

    2 derive_fileds
    I want to send an unique number to my users. nextnum function is great for me.
    I haev this code in my form and it works great.
    <input type="hidden" name="derive_fields" value="Nr=%nextnum%.%sec%" />

    But I want to put that into my INI-fil.I put code into my INI-File like this
    [special_fileds]
    derive_fileds="Nr=%nextnum%.%sec%"

    I tried to derive other fileds but it did't works either. everything else in INI file works fine

    Help me please.

    Your Sincerely
    Andre
    Last edited by A77; 03-May-2007 at 08:18 AM.

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

    Default Re: formmail problem

    Hi,

    Thanks for your subscription.

    Can you please send me the URL to your form?

    Also, please email me a copy of your INI file and your formmail.php file.

    Everything you've shown seems to be OK, so I need to check the actual detail.

    Please send to supportstaff AT tectite DOT com
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: formmail problem

    Hi,

    [special_fileds]
    derive_fileds="Nr=%nextnum%.%sec%"
    Check for typo errors. Should be "derive_fields".

    Note that you can have "derive_fields" in the HTML form OR in the INI file, but not both.

    The INI file will take precedence.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

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

    Default Re: formmail problem

    Hi,

    Sorry.... another answer to your questions...
    Autorespond are not working.
    <p><img src="http://www.myhost.com/verifyimg.php" alt="Image verification" name="vimg" />&nbsp;<br />

    Please enter the characters* <br />
    <input type="text" size="12" name="arverify" maxlength="6" />

    I got 2 emails when the characters dismatchs. 1 error mail to the $DEF_ALERT mail and I want that option. The other mail are sent to the $TARGET_EMAIL with form result. I don't want to receive e-mails to $TARGET_EMAIL when users enter wrong characters. I renamed the "arverify" field to "imgverify" but autorespond are not working at all.
    Go back to "arverify" and when that's working again, do the following....

    To force correct entry of the image verification you must have a field called "imgverify". If you already have "arverify", which you do, then derive "imgverify" from "arverify".

    Note that you can only ever have one field called by a specific name, so you can only have one "derive_fields" field. Just add additional derivation specifications to it, like this:
    HTML Code:
    <input type="hidden" name="derive_fields"  value="Nr=%nextnum%.%sec%,
    imgverify=arverify" />
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Apr 2007
    Posts
    21

    Default Re: formmail problem

    Hi !
    Now the autorespond works fine but only when I have this code in my form.
    Quote Originally Posted by russellr
    HTML Code:
    <input type="hidden" name="derive_fields"  value="Nr=%nextnum%.%sec%,
    imgverify=arverify" />
    But I want the derive_fileds into my INI file and I do like this:

    [special_fields]
    derive_fields= "Nr=%nextnum%.%sec%,imgverify=arverify"

    When I put that into my INI file , I receive form results to the TARGET_MAIL again when the characters dismatch

    I use only one "derive_fileds" field

    Your Sincerely
    Andre
    Last edited by A77; 03-May-2007 at 10:05 PM.

  6. #6
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: formmail problem

    Hi,

    Sorry, I should have remembered this....

    "derive_fields" is performed before the INI file is loaded, so you cannot put "derive_fields" in the INI file.

    We will work on this limitation shortly, but it's not a simple problem to solve without potentially breaking existing FormMail installations.

    For now, you'll have to keep "derive_fields" in your HTML form.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Apr 2007
    Posts
    21

    Default Re: formmail problem

    Hi
    Quote Originally Posted by russellr

    "derive_fields" is performed before the INI file is loaded, so you cannot put "derive_fields" in the INI file.

    For now, you'll have to keep "derive_fields" in your HTML form.
    Ok I will do that so far and I will wait for updates and follow your development work.

    Another question:
    I use Javacript for my required fileds and I have all required fields into INI-file.That is good I think.
    But I also use javascrip for some NOT required fileds. Is that good or bad?
    I wonder if spammers can bypass my script for NOT required fileds and send spam when I have many other required fileds ( same form) into INI-file?

    Your Sincerely
    Andre

  8. #8
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: formmail problem

    Hi,

    I'm not sure exactly what your concern is.

    Yes, they'll by-pass validation on the JavaScript, but unless they supply the required fields the form will not submit.

    Don't be too concerned about spammers.....so far, Tectite FormMail is keeping ahead of their attacks.

    I don't get any FormMail spam (and I don't use CAPTCHA on any of the forms I control).
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #9
    Join Date
    Apr 2007
    Posts
    21

    Default Re: formmail problem

    Hi again !
    Quote Originally Posted by russellr
    Yes, they'll by-pass validation on the JavaScript, but unless they supply the required fields the form will not submit.
    That was the answer I wanted to hear.

    Thanx for all help. God belss you for this free formmail.

    Andre

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FormMail + Fasthosts + Linux = Problem
    By tonicpolly in forum Community Support
    Replies: 0
    Last Post: 22-Jan-2008, 04:29 PM
  2. Multi-page FormMail set-up problem
    By telf11 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 16-Jan-2008, 05:41 AM
  3. Problem deriving fields in formmail
    By JackA in forum Community Support
    Replies: 1
    Last Post: 08-May-2007, 07:55 PM
  4. configuring formmail problem
    By sdg111 in forum Community Support
    Replies: 1
    Last Post: 04-Dec-2006, 04:50 PM
  5. Problem with FormMail
    By genchan in forum Community Support
    Replies: 3
    Last Post: 21-Oct-2006, 06:48 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
  •