How to reset dropdown field to default upon submission?

  • Profile Image
    interpon
    Asked on November 29, 2017 at 07:34 PM

    Hello, is there a way to reset a particular drop-down field to default upon submission? 

    We have 2 groups of people (sales reps & customers) accessing the same form. And we only want them to access their relevant sections.

    The sales rep will select "sales rep" from the drop-down, enter a "passcode" to show their section. 

    We would like this dropdown to reset upon submission so when the customer accesses the form, they will need to select "customer" from the drop-down.

  • Profile Image
    Nik_C
    Answered on November 30, 2017 at 01:54 AM

    If the customer is accessing the form by using the form URL https://form.jotform.co/72638236637868 then that will actually happen when they open the form each time.

    On the other hand, if they are accessing the form by using the edit submission link, like you provided, https://www.jotform.com/edit/3878103785989123442, you can add Get form page URL widget:

    1512024630Screen Shot 2017-11-30 at 7.55

    And create a condition that will clear the drop-down field:

    1512024808Screen Shot 2017-11-30 at 7.57

    Hope it helps.

    Thank you!


  • Profile Image
    interpon
    Answered on December 03, 2017 at 09:05 PM

    Hi Nik_C, thanks for your reply. Unfortunately, I can't get it to work. 

    I've added 2 conditions to clear the "Who are you?" dropdown field and the "Rep Code" text field.

    When I click on "Edit Submissions", both fields are still populated. 

    What am I doing wrong?


    https://form.jotform.co/72638236637868

  • Profile Image
    Nik_C
    Answered on December 04, 2017 at 02:37 AM

    My apologies, I overlooked the fact that the submission is actually editing, meaning, the drop-down field as well. So the data that was inputted previously in drop-down will remain and override the data we tried to prefill with conditional logic. 

    So I'm afraid that it is not possible to do that, to clear the fields inputted on edit submission since it is contradictory to edit submission feature.

    Let us know if you have any further questions and I'm sorry again.

    Thank you!