Java script that write Date and time to field when product inventory was made (with check box)

75 views
Skip to first unread message

Mikael

unread,
Jan 23, 2019, 12:46:38 PM1/23/19
to mementodatabase
I have a checkbox that I check when I do inventory of stuff.

But I would also like to have a date field that records when inventory was made.

1. created a checkbox field called "checked"
2. created a Date field called "Inventoried" that I would like to update "time and date" when that checkbox is checked


similar to
https://groups.google.com/forum/#!searchin/mementodatabase/checkbox%7Csort:date/mementodatabase/XcfgtivFxXQ/UonK_2hlCgAJ


#checkbox
#trigger events
#write time and date to field

Mikael

unread,
Feb 2, 2019, 5:27:32 AM2/2/19
to mementodatabase

Have someone done something similar or any ideas how to get a time&date added/updated to a field when checking a box?

John C

unread,
Feb 18, 2019, 8:04:23 PM2/18/19
to mementodatabase

Use an If boxchecked Date/time

John C

unread,
Feb 18, 2019, 8:06:42 PM2/18/19
to mementodatabase

Make a field called DateComplete

if (field('COMPLETE')=='1');
moment().format('L')


On Saturday, February 2, 2019 at 5:27:32 AM UTC-5, Mikael wrote:
Reply all
Reply to author
Forward
0 new messages