MultiSelect Grid - How do you ensure a time slot is only selected once, or tells the user if it's already been picked after their submission?

  • bigmachine
    Asked on August 9, 2016 at 6:14 PM

    We're using this form to book times for radio interviews....if one station and another station both select the same open time and submit, the form allows this. The user has no way of knowing another user just booked that time out from under them, unless they refresh the page. How do we make it throw an error after submission if this happens saying something like "Too slow! That time slot was selected by another station before you hit submit. Click here to return to the form."

  • liyam
    Replied on August 9, 2016 at 9:19 PM

    Hello bigmachine,

    I see that you have managed to find a solution to your concern. Now in order to change your form warnings, you should go to the Preferences of your form (Right most upper tool bar)

    MultiSelect Grid   How do you ensure a time slot is only selected once, or tells the user if its already been picked after their submission? Image 1 Screenshot 30

    Next, under general tab, click Add on the Form Warnings settings.

    Find the "Sorry! Only one entry is allowed.  Multiple submissions are disabled for this form." Change the text, click Finish and click the Save Changes button

    MultiSelect Grid   How do you ensure a time slot is only selected once, or tells the user if its already been picked after their submission? Image 2 Screenshot 41

    Once done, if the field selected is no longer available, you should see your modified form warning changes.

    If you have questions, please let us know.

    Thanks.

  • bigmachine
    Replied on August 11, 2016 at 6:26 PM

    Actually we haven't found a solution! I'm still able to pick the same time if I use different browsers or tabs. I tried using a hidden field, but it didn't solve the issue and is still letting me submit twice for the same time. Any ideas how to fix this or a workaround - even if it's complicated?

  • liyam
    Replied on August 11, 2016 at 8:59 PM

    Hello bigmachine,

    Currently, when I try to make a submission using the same selected time slot, I get an error:

    MultiSelect Grid   How do you ensure a time slot is only selected once, or tells the user if its already been picked after their submission? Image 1 Screenshot 20

    Can you confirm that this is not happening on your end?

    Thanks.

  • bigmachine
    Replied on September 12, 2016 at 12:46 PM

    This is not happening on our end. If we select a time slot in two different browsers, it let's us submit both and doesn't show the warning, thus creating a scheduling conflict.

  • David JotForm Support Manager
    Replied on September 12, 2016 at 2:09 PM

    I just cloned the form, and loaded the cloned version in two browsers, then selected the same option, I submitted one form first and the other a second after:

    MultiSelect Grid   How do you ensure a time slot is only selected once, or tells the user if its already been picked after their submission? Image 1 Screenshot 20

    As you can see, the warning showed up. You can change the warning message: https://www.jotform.com/help/61-How-to-Change-Form-Warnings 

    Let us know if you need more help.