Skip to main content

hello

i designed a reservation form. in reserved time control I have a validation rule that reserved time should be greater than currentday or if it equals today it should be < 11 am.

but this validation rule does not work.

here is the rule I use:

greaterThan({Common:CurrentDate},{Self})

or Current Date>{Self}

{Self}== Current Date&& Current Time>"11"

Hi Fateme,

Is your reserved time control is Date/Time or Date only?

Comparing the date should be: greaterThan({Self},CurrentDate)

But I am also thinking how to validate the time from current date time control. 


hi

reserved time control is date only. the user does not need to enter the time of reserverd.

thanks


greaterThan({Self},CurrentDate) doesn't work


Let's try to change Self to control name and validate if it is worked. greaterThan(ControlName,CurrentDate)


Reply