Copy link to clipboard
Copied
i need a "start time" field to be field with the current time once its clicked on
time must come from the tablet (android if relevant) it is being filled on
Copy link to clipboard
Copied
The code to do it is:
this.getField("Field name").value = util.printd("mm/dd/yyyy HH:MM", new Date());
However, there's no guarantee it will work on a mobile device.
Copy link to clipboard
Copied
How do i decide of when the time is recorded? it need to happen when the user clicks the box
Copy link to clipboard
Copied
Then attach the code to the button's Mouse Up event.