-
Shell_TFCAsked on May 29, 2023 at 1:25 AM
-
Christy JotForm SupportReplied on May 29, 2023 at 1:40 AM
Hi Shell_TFC,
This is in response to the question you raised here. I believe that you are referring to this form. Since the Date Reservation field in your form is a Single Choice element, you cannot use it as a Unique Field or a Unique Question; however, you can achieve your requirement by adding a Short Text element and passing the data from the Date Reservation and the Staff Name to Unique Field (Short Text element) by using an update/calculate field condition in your form.
Let me show you how it's done.
- In the Form Builder, click on +Add Form Elements and go to the Basic Tab.
- Drag and drop a Short Text element into the form.
- Click on the Gear icon to open the Properties.
- Under the Advanced tab, scroll down and set the field to hidden.
Once done, set the following condition to combine the Staff Name and Date Reservation by choosing the update/calculate field condition. Let me walk you through it:
- In the navigation bar at the top of the screen, click on Settings.
- In the list that appears, click on Conditions.
- Select the Update/Calculate Field from the options.
- Set the trigger and action by copying the conditions below (please make sure to change the strings from 0-9 to A-Z.
- Click on Save.
Finally set the Unique Field (Short Text) in the form settings.
Check out the screencast below to see my results:
Give it a try and let us know if you need more help.
-
Shell_TFCReplied on May 29, 2023 at 3:51 AM
how will they know that I deny their booking reservation?
-
Mary_Ed JotForm SupportReplied on May 29, 2023 at 4:17 AM
Hello Shell_TFC,
Thanks for getting back to us. Your user will be prompted with an error if they submit duplicate data from the same field. This is an error message that will be displayed.
We also have a guide about How to Set Form Limits Based on a Unique Field that you can check out.
Reach out again if there’s anything else we can help you with.
-
Shell_TFCReplied on May 29, 2023 at 5:43 AM
how will they know that I deny their booking reservation? not duplicate. How they will notify if I deny their booking
-
Mahmoud JotForm SupportReplied on May 29, 2023 at 6:16 AM
Hello Shell_TFC,
Thanks for getting back to us. You can Change The Form Warning message to your preference. Let me show you how:
- In Form Builder, in the orange navigation bar at the top of the page, click on Settings and then click on Show More Options.
- Click on the Edit button next to Form Warnings.
- Search for the message you want to change then edit it.
- Click on the Save Changes button.
Checkout the following screencast for the steps and the end result:
Let us know if you have any other questions.
-
Shell_TFCReplied on May 29, 2023 at 9:55 PM
Hi why the staff received the "sorry! Only one entry is allowed." even though it's their first time to book a slot?
-
Christy JotForm SupportReplied on May 29, 2023 at 10:25 PM
Hi Shell_TFC,
Thank you for getting back to us. I am sorry that your user is unable to submit the form on the first attempt. Does it happen to all the users or just to a specific user?
I checked your form and although you have not set up the Unique Field, the Unique Submission is currently set to Check Cookies Only. When you choose this option, the form will check whether the submission came from the same browser. It uses cookies stored in the user’s browser storage to verify duplicate submissions.
As advised, you can follow the steps I shared earlier on this thread to combine the Reservation Date and Staff Name and then set the Unique Submission to No Check.
Give it a try and let us know if you need more help.