Using FF as a way of issuing digital parking permits - the user enters their vehicle registration and the form issues them a digital parking permit. The form entry is then sent to the external ANPR system which checks the vehicle is permitted to park, and issues a warning if they overstay (all this part works).
I'd like to have a read-only text box that shows the expiry of the permit, so the current date and time + 6 hours. If the permit is registered at say 22/06/24 2200h, the expiry time should show 23/06/24 0400h.
Any ideas what code to use in the "Expiry" text box to achieve this?
thanks so much :)
The offset option will allow you to add something to the date of another field. I've only used it for days, so you'll have to see if it works for hours. If it doesn't, you can create a custom shortcode in PHP.
Please login or Register to submit your answer