What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Postback has duped field names

    Asked by AmSteve on March 13, 2016 at 08:51 AM

    Form at 52205870745961 is correctly processing and stores the right fields when viewed as Submission or Excel output. However, the fields that are posted back to my thankup page are not correct. Fields like Phone (area + number); Name (first/last); and Address (city/street/city/state/zip) all come back with the same field name. Here's the full listing of fields with data stripped for readability



    The markup at my embedded form:

    <div id="cid_4" class="form-input jf-required">     <span class="form-sub-label-container" style="vertical-aligntop">         <input class="form-textbox" type="text" size="10" name="FullName[first]" id="first_4" />         <label class="form-sub-label" for="first_4" id="sublabel_first" style="min-height13px;"> First Name </label>     </span>     <span class="form-sub-label-container" style="vertical-aligntop">         <input class="form-textbox" type="text" size="15" name="FullName[last]" id="last_4" />         <label class="form-sub-label" for="last_4" id="sublabel_last" style="min-height13px;"> Last Name </label>     </span> </div>

    I would expect the forms field names at the postback to match the originally posted names. Am I doing something wrong? thx

    Page URL:

  • Profile Image
    JotForm Support

    Answered by jonathan on March 13, 2016 at 09:11 AM

    Please refer to the user guide: How-to-Post-Submission-Data-to-Thank-You-Page

    To find out first the correct Variable names and PHP codes of the Send Post Data, use this URL  on your form redirect Thank you page.


    This way will be able to know the correct field name to use.

    Hope this help. Let us know if you need further assistance.



  • Profile Image

    Answered by AmSteve on March 13, 2016 at 12:32 PM

    My apologies - I see that in my question history I've already asked this question. I think I'm coming to a clearer understanding of your postback process:

    Fields that are composed of multiple elements are posted back without the element's index - but instead use a blank []. If the server is PHP the element indexes are correctly populated. If the server is IIS they are left blank.



  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 13, 2016 at 01:47 PM

    I'm not sure about your comment, but blank fields will be [] on the thank you page, the data submitted on the thank you page should look like this: 

    Could you please elaborate a bit more your question? We will be glad to help you. 

  • Profile Image

    Answered by AmSteve on March 13, 2016 at 02:46 PM

    I'm not using PHP -- when IIS lists out the posted fields, the simple
    values are correctly populated with both name and value. When the field is
    like 'Phone' the index values are not populated - I'm getting just blank [].
    It seems strange that a service as mature and sophisticated as yours would
    have just a glaring shortcoming. I'll double check my logs. thx

  • Profile Image
    JotForm Support

    Answered by jonathan on March 13, 2016 at 04:00 PM

    Please share to us the URL of the Thank You page redirect you use for Send Post Data.

    As you can see on our user guide example, it was PHP.

    Since you were not using the same, it will help as understand were the conflict might be if we can view the target URl you were using on your Send Post Data method of the form.