Method Community

 

Web form error

Last post 03-11-2011 11:05 AM by Method_Michael. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-08-2011 7:07 PM

    Web form error

    I've set up a Web-to-lead form. I spent a while customizing it and tested it out about a dozen times. I received an error email today after a potential customer tried to fill it out the form. I tried to duplicate the form problem myself, but it worked fine.

    The error email is as follows:

    "Subject: Error encountered on webform Web-To-Lead

    Your client had encountered an error with web form Web-To-Lead. This may be due to incorrect setup of the web form. The error encountered was: The URL from which web form was submitted is not within a selected refferer list.  "

    The email went on with the information the form tried to send. I was able to pick out the customers information, but nothing had been posted to method.

  • 03-09-2011 11:38 AM In reply to

    Re: Web form error

    Hi,

    If you get an error "The URL from which web form was submitted is not within a selected refferer list." it usually means that someone downloaded your web form and tries to submit faulty values to your web form. Since our assumption is that values are faulty, since they came from an untrusted source, we don't submit them to Method and allow you to decide whether these values are valid or not.

    However, in order for the Web Forms to be a bit more user friendly, we will now include the actual URL from which Web Form was submitted in the email that we send, therefore you will know for sure if the data was sent from valid source, or if the source is faulty.

    We also went to the SpaScape website and tested the webforms and we didn't get any "Invalid referrer" error. If you continue experiencing any problems, don't hesitate to contact us.

    Thank you,

    Victor

  • 03-09-2011 4:47 PM In reply to

    Re: Web form error

     Hi Victor,

    I received your test messages today. They came through fine.

    Yesterday when I received the error the form had been filled in correctly by a customer. As I said before, I was able to see their information in the error message.

    I received another error this afternoon, however this time the message did not include any customer information. All fields were blank.

    Could this have anything to do with the fact my form appears in a light box?

    I will let you know if this happens again.

    Thanks,

    Greg

  • 03-09-2011 4:55 PM In reply to

    Re: Web form error

    Greg,

    When you've received an error today afternoon, did it include a valid referrer URL in the error message?

    I believe the light box would not make a difference, since it's just a simple HTML form being submitted and light box in my opinion should not interfere.

    Thank you

    Victor

  • 03-11-2011 8:36 AM In reply to

    Re: Web form error

     Hi Victor,

    I received another strange error today. Can I forward the email to you?

    Thanks.

  • 03-11-2011 8:51 AM In reply to

    Re: Web form error

    Hi Greg,

    You can copy the error to the forum, so other people having the same problem will also know how to fix it. Also, while testing your web form, I've noticed that you don't have validation for any of the fields (even though we did include the javascript validation in our web forms). As a result, if a customer for example doesn't enter a his name, (which is a required Method field), he will get an error that form was not submitted and you will get an error message saying something like "Not all required fields are present.Required field Name is not passed for the table Customer".

    Thank you

    Victor

  • 03-11-2011 9:16 AM In reply to

    Re: Web form error

     Hi Victor,

    I think the validation might be the issue. Those are the errors I received today, although they were not the original error.

    I will fix the validation in the form, test it and let you know if any non-validation errors happen.

  • 03-11-2011 9:40 AM In reply to

    Re: Web form error

     The validation script is in the form, I don't know why it wouldn't work. The only thing that I can see is different is this:

    Method produces the following line:


    <form action="https://www.methodintegration.com/method/timezonerouter.aspx?url=https://www.methodintegration.com/MethodWebForms/submit.aspx" onsubmit="return validate_form(this)" method="POST">

    In my form it is this:

    <form id="form1" action="https://www.methodintegration.com/method/timezonerouter.aspx?url=https://www.methodintegration.com/MethodWebForms/submit.aspx" onsubmit="return validate_form(this)" method="POST"> 
       
    in which the form uses the CSS style "form1". Could this be screwing up the validation? If not, I can't see anything that is different.

    Thanks,

    Greg

     

  • 03-11-2011 11:05 AM In reply to

    Re: Web form error

    Hi Greg,

    I am glad to see that you are putting the Web Forms to use. At his point we have gone beyond the scope and purpose of this forum for the issue you are now experiencing. This issue is outside of Method (I'm assuming that the code the Method itself generated works) and would be best directed to your own Web Developer if you are still having issues. If the code that Method provides for you doesn't work then we can open a support ticket related to that. The rule of thumb here is that if the issue is with something that Method provided and has not been modified then we will troubleshoot it. As a suggestion I would compare the code you have now to what Method generated and look for any key differences.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
Page 1 of 1 (9 items)