JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Can I trigger a field to auto-fill an amount if after a certain time of day?Asked by poolmanagementgroup on March 11, 2016 at 10:02 AM
I want to have an autofill text box that is triggered by a time of day field. I currently have it set to calculate total hours off of a Start/Stop time, but would like the mentioned trigger as well. Like charging more for a party rental after a certain time of day. Any help is appreciated.
I am not quite sure if I understand the process flow of your form. Perhaps you can share us a sample case that we can use as a basis for the calculation, what action is taken and what is the expected output. That would allow us to think a possible workaround.
But I believe this should be possible by using a conditional logic.
We'll wait for your response.
If a pool party is requested for after 8:00 PM, the Price with be X that will populate "Pool Party Rental Cost". If party is before 8:00 PM - say 1:00 PM, then Y will populate in "Pool Party Rental Cost".
Does that make sense?
If that condition is straight forward like that, then I believe it is possible.
Here's a simple form: https://form.jotform.com/60705324264955.
Here are my conditions:
If the party time is set to 8:00 PM and onward (meaning up until 11:59 PM) then charge them $100.
If the party time is set to before 8:00 PM (meaning 12:00 AM - 7:59 PM of that day) then charge them $20.
Here's a sample screenshot of my condition:
You can hover on the "i" on each options to see more information on them. Basically, for time, you can use the "After" and "Before" state. BUT make sure that your time value is in 24 hour format.
If you have a more complete pricing or calculation, please do let us know the form you are working on and how they should be calculating the price.