Form field set to datetime {{now}} updating in realtime

I created a ticketing system for us to use. When working a ticket you add a work log to a ticket, this is just an entry of what you did and the time it took.

I have two datetime fields that when opened are both set to {{now}}.
The problem is that they set these to the appropriate time, and when the actual time changes it updates the fields, wiping out what you put there. If it’s not caught, we won’t bill clients like we should.

Is there a way to stop this? If not I can just put place holders in for the time but it made it easier since most calls are less than 20 minutes.

Change the selected interval on the component to days.

Not sure where you do that with a built in function {{now}}

image

Add a Date and Time component to the page and use it’s value instead of {{now}}.

Make sure to set its interval to days

2 Likes