Adding date in a field, via a link or button.... & extra credit
I have found many posts abouting autopopulating dates/times into fields.... but what I am looking for is the following...
I have a field titled "incident_date", I want the users to be able to click a button, or a link that says "Today" and it will input the current date.
I have a field titled "incident_time", I want the users to be able to click a button, or alink that says "Now" and it will input the current time.
If they don't click one of the links/buttons, I want the users to be able to input a different date (in case they are doing their reports on a a differnt day)
Having it autofill with todays date/time all the time does not work for my situation, as it can be different, and the pdf gets opened often by different users, and I need the date/time to stay the same.
For extra credit, I have check boxes that are titled "am" & "pm" and would like them to be automatically checked in the appropriate check box based off of the current time when the above mentioned button/link is pressed.
Fingers crossed!
-brando
