Error: Form ID did not match

  • Profile Image
    Steve99
    Asked on April 11, 2012 at 03:01 PM

    Hi,

    With my form I am getting different errors dependant on the browser.

    Firefox gives an Error Form ID did not match error when I try to submit a form.

    IE 9 shows the form briefly and then reports a file 404 error.

    Opera does not display the form at all.

    I have followed the advice on similar posts and cleared the cache etc.

    The form ID number appears to be correct.

     

    Any Ideas?

     

    Steve

  • Profile Image
    fxr
    Answered on April 11, 2012 at 06:13 PM

    Hi Steve,

    You have two Free Text (HTML) fields on your form which have the embed code/or source code of a now deleted form.

     

    Its the two 'Tell about your dogs' fields. These are causing the form to 'break', what are you trying to achieve with these fields? 

  • Profile Image
    Steve99
    Answered on April 12, 2012 at 10:05 AM

    Hi,

    Thanks for comming back,

    There are three Free Text fields which are to be displayed accoding to the option button selected.

    Option 1 (General Enquiry) - do nothing - don't display any of the fields.

    Option 2 (Our Annual.......) - show the 'When available please e mail me....' Free text field.

    Option 3 (Puppy .......) - show the 'Tell us about your puppy...' Free Text field.

    Option 4 (Obedience........) - show the 'Tell us about your dog...' Free Text field.

    The last two have different text lables and drop down box lists.

     

    I have seen this post:

    http://www.jotform.com/answers/85903-Bad-behavior-of-a-form-with-conditions-of-hidden-fields.

    and have attempted to follow the proceedure in the Jot Forms example, obviously not very well!

     

    Should I rebuild the form from scratch?

    Hope all this makes sense.

     

    Steve

  • Profile Image
    jonathan
    Answered on April 12, 2012 at 10:25 AM

    Hello Steve,

    Let us work on your form first.. let us not scratch for the meantime. Your effort is worth it.
    I will help you for now on the interim while master 'fxr' is away.  =)

    I will clone your form, and see if I can apply the logic you wanted.

    Will be right back.

    Thanks.

  • Profile Image
    Steve99
    Answered on April 12, 2012 at 10:41 AM
    Hi,
    I have just been looking at my form and I see it is now corrupt - and
    the auto save has has kicked in!
    I have a backup Contact Us (LORC)v1.00
    Regards,
    Steve
  • Profile Image
    jonathan
    Answered on April 12, 2012 at 10:46 AM

    I see.
    So we will use the backup instead? May I suggest you clone it again(the v1.00) so that you have another copy again to be safe.

    Thanks.

  • Profile Image
    jonathan
    Answered on April 12, 2012 at 11:04 AM

    Hello Steve,

    The v1.00 of your form seems to be working fine, and the Conditions you setup are also working as intended. 

    Perhaps the issue can be located on the way the form was embedded. Please try re-embedding the form to your website using the iframe code, here is the guide How to get your Form's Iframe Code.

    Please try this first. Inform us if you still encounter a problem.

    Thanks.

  • Profile Image
    Steve99
    Answered on April 12, 2012 at 03:09 PM

    Jonathan,


    I've embedded the v1.00 form as an iframe as you suggest and I'm afraid the issue still remains.

    Tested on Opera, IE and Firefox.

    Could the problem be  that the code embedded in the Free Text (HTML) fields no longer has an associated form?

    The embeded HTML references the 'source' form for each of the fields and I thought once I had the 'source' code I didn't need the 'source' forms - so i deleted 'em!

    I await your comments with interest.

    Steve

  • Profile Image
    jonathan
    Answered on April 12, 2012 at 05:24 PM

    Steve,

    The embeded HTML references the 'source' form for each of the fields and I thought once I had the 'source' code I didn't need the 'source' forms - so i deleted 'em!

    You are actually correct on this... as I have experienced this myself, and the Free Text tool seem to work fine with the 'source form' already gone.

    I checked again the URL above on Firefox, IE8, and Opera 11.6 , as you can see on the screens below, I was able to view them all and Conditions working.

    I did encounter anomaly on IE though, it seems that after a while the page redirect and results into 404 error (meaning URL page does not exists). But I think this have nothing to do with the form, as I can confirm the form is working fine. Perhaps some script on the web page where the form was used is causing this anomaly.

    Have you also tried checking the form in preview mode in JotForm builder on different browsers? I did, and all passed.

    Will await your update. Thanks.

     

     


  • Profile Image
    Steve99
    Answered on April 13, 2012 at 06:14 AM

    Hi Jonathan,

    Good Morning.

     I agree the form displays correctly in Firefox, and indeed does function but if you enter some data and attempt to submit the form the 'Error Form ID did not match' kicks in - or at least it does on my machines.

    I'll have a look at the errors reported by IE.

    Regards,

    Steve

     

     

     

  • Profile Image
    Steve99
    Answered on April 16, 2012 at 04:51 PM

    Jonathan,

    I'm unable to identify the errors in IE so, I'll build a new form form from scratch and see if that cures these issues

    Steve

  • Profile Image
    jonathan
    Answered on April 16, 2012 at 05:17 PM

    Hello Steve,

    I am truly sorry, I just noticed that you have updated this even the last time, but it seems I did not get it on my end. Let me make it up by attending to you now with dedications.

    I agree the form displays correctly in Firefox, and indeed does function but if you enter some data and attempt to submit the form the 'Error Form ID did not match' kicks in - or at least it does on my machines.

    I just found out also that you are correct on this(as fxr already mentioned also actually)... indeed you can no longer submit a source code elements of the form once you have deleted the original form they came from. You can only display them. So, the right thing to do is not to delete this 'source' forms if you want to call the elements/fields on another form.

    You may need to re-create the forms, only the Free Text(HTML) where you embed some source code from another form.

    I will also check your website using the URL and using different browsers.

    Thanks

  • Profile Image
    jonathan
    Answered on April 16, 2012 at 05:31 PM

    Hi Steve,

    I just checked the URL using IE9, and it was still redirecting to 404 error. I will assume you have not applied the updates yet. 

    For your info. Thanks.

  • Profile Image
    Steve99
    Answered on April 19, 2012 at 10:25 AM

    Hi Jonathan,

    Following your advice, I have now recreated one of the source forms (Sub Form: Annual Show v1.00).

    The main form (Contact Us (LORC) v2.00) has one Free Text (HTML) field as a placeholder for the code from the sub form and following some testing it still shows the error: "Error Form ID did not match".

    If I can get this stage to work I'll recreate the other source forms.

    I am also considering would be easier for us both if I just created four separate forms?

    Regards,

    Steve


  • Profile Image
    jonathan
    Answered on April 19, 2012 at 10:36 AM

    Hi Steve,

    I am checking the embedded elements on the Free HTML, I think the issue is on that.
    I will correct it for you. Please wait.

     

  • Profile Image
    jonathan
    Answered on April 19, 2012 at 10:42 AM

    Steve,

    Can you clone this form, and use it on your page for testing purpose. This is a clone of your form v2.00 with form v1.0 elements embedded on the Free HTML.

    Submit the form, I did not change anything on the notifications or thank you page, so, it should be with you.

    Thanks.

  • Profile Image
    Steve99
    Answered on April 23, 2012 at 07:57 AM

    Jonathan,

    Sorry for the delay in comming back, I've been away for the weekend.

    Question: How do I clone the form from your link?


    Steve

  • Profile Image
    jonathan
    Answered on April 23, 2012 at 08:24 AM

    Steve,

    Use this guide How to clone an existing From from a URL.

    This is the URL that you will clone http://jotform.me/form/21094393492457

    Thanks.

  • Profile Image
    Steve99
    Answered on April 25, 2012 at 02:21 PM

    Hi Jonathan,

    It's me again, I've cloned the form from your URL and embeded it in a page, the error still exists.

    I also tried a iframe - the error still occurs.

    What next?

    Steve

     


  • Profile Image
    jonathan
    Answered on April 25, 2012 at 08:12 PM

    Hi Steve,

    This is the problem...
    The Sub Form: Annual Show v1.00 have form embeded inside the Free Text tool.
    Please check screen below.
    For this reason, everytime you submit the form Clone of Clone of Contact Us (LORC) v2.00, it is detecting another form ID embeded inside that Free Text tool.

    I made the correction on this form. Please clone it and embed it on you website to test again.
    I also embedded the form on a test site you can also check it is working. I did not change anything on the email notification and condition, so, everything is still directed towards you. 

     

  • Profile Image
    Steve99
    Answered on May 07, 2012 at 04:28 PM

    Hi Jonathan,

    I've been working on this issue recently, and I have two questions about your form.

    1) There is a lot of 'white space' below the free text field, can this be reduced?

    2) How do I add the embeded script to the condtitional statement - I can't see a method with the wizard?


    Also, if I don't use a free text field for the check boxes and drop downs, then the form shows these items briefly, when it loads - which is why I went down the free text route in the first place.

    Regards,

    Steve


  • Profile Image
    jonathan
    Answered on May 07, 2012 at 08:11 PM

    Hello Steve,

    I can see that you finally manage to get the draft form working. I want to inform you ahead that this workaround has its drawback. Primarily, when you Submit this form, you will not be able to capture the data from the condition fields.

    As you can see, this form has only 1 submit button, but supposed to have multiple forms in it. 

    To make this fully functional (a real multi-form form), you will have to create 4 forms. 1 is the main form, and the other 3 are called base on the option field condition.

    We have such guide here -How-to-Update-the-Multiple-Payment-Form that show how we can do it on your form.

    I will create this form for you. I will give you the updated form when I am done.

     

  • Profile Image
    Steve99
    Answered on May 08, 2012 at 06:14 AM

    Jonathan,


    Thanks, you don't need to do it for me, I'm sure you've got other issues to deal with!

    Steve

  • Profile Image
    guest_23242959866063
    Answered on November 20, 2012 at 05:47 AM

    مش فاهم حاجه يا جماعه انا عوز مليون

  • Profile Image
    liyam
    Answered on November 20, 2012 at 05:51 AM

    Hello Guest User.  Can you please start a new thread and explain to us properly your concern?

    Thanks.