Can I trigger a field to auto-fill an amount if after a certain time of day?

  • Profile Image
    Asked 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.

  • Profile Image
    Answered on March 11, 2016 at 11:10 AM

    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.

  • Profile Image
    Answered on March 11, 2016 at 12:47 PM

    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?

  • Profile Image
    Answered on March 11, 2016 at 01:05 PM

    If that condition is straight forward like that, then I believe it is possible.

    Here's a simple form:

    Here are my conditions:

    Condition 1:

    If the party time is set to 8:00 PM and onward (meaning up until 11:59 PM) then charge them $100.


    Condition 2:

    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.