Is there a way you can submit a form but still stay in the form with all the answers populated

  • danibieg
    Asked on June 6, 2017 at 4:02 AM

    HI,

     

    I emailed earlier to ask " : Is there a way you can submit a form but still stay in the form?" and you sent me a response however it was not what I wanted.

     

    I am keen to see is there a way you can submit a form but still stay in the form and still see the answers that were populated? i.e it does not go back to the blank form.


    Thanks
    Dani

  • Mike_G JotForm Support
    Replied on June 6, 2017 at 5:48 AM

    I found the previous thread you opened for this concern.

    https://www.jotform.com/answers/1164353

    The workaround, my colleague, Jan, provided you in that thread will allow you to reload your form upon clicking the submit button. However, if you want to have the answers from the prior submission to be pre-filled when the form reloaded then here's what you can do:

    First, get the direct link to your form. 

    Then, using the direct link to your form create the link that you will use in the "Redirect to external link" option of the Thank-You Page.

     

    The link will contain the parameters needed to pre-fill the form when it reloads. The process is similar to what is shown in this guide: Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

    The only difference is that you will use the field names of the fields in your form as the corresponding value for each parameter in the link that you will be creating.

    How-to-Find-Field-IDs-and-Names

    Sample Link:

    https://form.jotformpro.com/71562316954965?name[first]={name:first}&name[last]={name:last}&positionsApplied={positionsApplied}&dateOf[month]={dateOf:month}&dateOf[day]={dateOf:day}&dateOf[year]={dateOf:year}&modeOf={modeOf}&videoInterview={videoInterview}&ourRecommendation={ourRecommendation}&areasOf={areasOf}&communicationAnd13={communicationAnd13}&candidateMotivation15={candidateMotivation15}&summaryOf={summaryOf}&relevantEducation={relevantEducation}&currentSalary={currentSalary}&anyAdditional={anyAdditional}&salarySeeking={salarySeeking}&noticeRequired={noticeRequired}&anyForeseeable={anyForeseeable}&anyOther={anyOther}&anyOther25={anyOther25}

          - Direct link to your form

          - Part of the name attribute of input fields in the form (after the underscore symbol) as explained in this guide: Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

          - Field Names or Unique Name of a form field as shown in this guide: How-to-Find-Field-IDs-and-Names

    Here's where you put the link:

    Is there a way you can submit a form but still stay in the form with all the answers populated  Image 1 Screenshot 20

    Here's a test form: https://form.jotformpro.com/71562316954965

    Submitting that test form will reload the form with the data you just submitted.

    I hope this helps. If you have any further questions or concerns, please feel free to contact us again anytime.

    Thank you.

  • danibieg
    Replied on June 8, 2017 at 7:44 AM
    Thanks for your response. I can’t seem to do it in my form.
    Is there any way you can access my form and see what I am doing wrong?
    Thanks
    Dani
    Dani Bieg
    Director
    Harrison McMillan
    M: 0422 816 573
    T: 08 7071 7273
    E: dani.bieg@harrisonmcmillan.com.au
    Suite 315, 147 Pirie Street, Adelaide SA 5000
    [cid:image001.jpg@01D2E09A.2C314EA0]
    The material transmitted may contain confidential and/or privileged material and is intended only for the addressee. Any use of or reliance upon this material by persons or entities other than the addressee is prohibited. If you receive this in error, please notify the sender and destroy any copies of the material immediately.
    ...
  • Sven
    Replied on June 8, 2017 at 9:57 AM

    Hi Dani, 

    I checked your form, it seems like you are repeating the form direct link twice, please see:

    Is there a way you can submit a form but still stay in the form with all the answers populated  Image 1 Screenshot 20

     

    Please delete everything in that box, and replace it with the following link:

    https://form.jotformpro.com/71562316954965? name[first]={name:first}&name[last]={name:last}&positionsApplied={positionsApplied}&dateOf[month]={dateOf:month}&dateOf[day]={dateOf:day}&dateOf[year]={dateOf:year}&modeOf={modeOf}&videoInterview={videoInterview}&ourRecommendation={ourRecommendation}&areasOf={areasOf}&communicationAnd13={communicationAnd13}&candidateMotivation15={candidateMotivation15}&summaryOf={summaryOf}&relevantEducation={relevantEducation}&currentSalary={currentSalary}&anyAdditional={anyAdditional}&salarySeeking={salarySeeking}&noticeRequired={noticeRequired}&anyForeseeable={anyForeseeable}&anyOther={anyOther}&anyOther25={anyOther25}

     

    Hope this helps, let us know if you need any further help.

     

    Thank you!