SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Guru phanie12.geo's Avatar
    Join Date
    Oct 1999
    Location
    pompano beach, fl
    Posts
    665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Can someone help me with this form mail?

    I am having trouble getting this form to do what it required of this line of code:

    <input type=hidden name="required" value="name,email, From,To,DepMonth,DepDay,DepTime,ReturnMonth,ReturnDate,ReturnTime,persons">

    Did I exceed the limit of items tha tI can require to be entered on the form? This the web page it is from:

    http://www.besswilliamstravel.com/airfarefinder.htm

    Please help, thanks.

  2. #2
    SitePoint Guru siphilp's Avatar
    Join Date
    Nov 2001
    Location
    Fife, Scotland
    Posts
    663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whats the error your getting? Could you put all the code up on the posting?


    Si

  3. #3
    SitePoint Guru phanie12.geo's Avatar
    Join Date
    Oct 1999
    Location
    pompano beach, fl
    Posts
    665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Si!

    This is the erro that appears if you try to submti the form completely blank:

    <<The following fields were left blank in your submission form:

    name
    email
    From
    To>>

    As you can see it is not picking up that ther are several other required form fields missing.

    Here is the code at the top of the form:

    <FORM METHOD=POST ACTION="http://www.besswilliamstravel.com/cgi-bin/formmail.pl">
    <input type=hidden name="recipient" value="besswilliamstravel@earthlink.com">
    <input type=hidden name="subject" value="Air Fare Quote">
    <input type=hidden name="return_link_url" value="http://www.besswilliamstravel.com/thankyou.htm">
    <input type=hidden name="return_link_title" value="Thank you.">
    <input type=hidden name="required" value="name,email, From,To,DepMonth,DepDay,DepTime,ReturnMonth,ReturnDate,ReturnTime,persons">
    <input type=hidden name="redirect" value="http://www.besswilliamstravel.com/thankyou.htm">
    <input TYPE="hidden" NAME="VTI-GROUP" VALUE="0">

    Thank you for taking a look at it.

  4. #4
    SitePoint Guru phanie12.geo's Avatar
    Join Date
    Oct 1999
    Location
    pompano beach, fl
    Posts
    665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps this forum is not appropriate. Can someone move it for me to a more appropriate forum, please?

  5. #5
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No -- this forum is fine; I'm just not following your problem completely.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  6. #6
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    It looks like everything is hidden so you can't enter any field and it displays nothing, or make sure those hiddens are available, try echo them out.
    Last edited by johnn; Feb 10, 2002 at 19:49.

  7. #7
    SitePoint Addict
    Join Date
    Aug 2000
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The reason that formmail is not picking up the rest of the required fields is because the values are not EMPTY.
    You are passing a "-" in the fields if they don't change.
    "-" is NOT an empty field.


    HTH

  8. #8
    SitePoint Guru phanie12.geo's Avatar
    Join Date
    Oct 1999
    Location
    pompano beach, fl
    Posts
    665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you alexming!


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
  •