This topic is locked
[SOLVED]

Javascript event to update checkbox on change of date/charge rate fields

12/18/2023 6:45:54 AM
General Tips and Tricks
Dalkeith author

I'm sure this is pretty simple

Could someone point me towards the best way to update a check box if a user opens updates a date field or a drop down field..

I'm thnking this will be some sort of javascript placed within the before update event

Air code
If storageexit date changes mark checkbox as 1
or
If empty bulk container date changes mark checkbox as 1
or
If storagerate changes mark checkbox as 1

Thanks in advance for any advice.

Sergey Kornilov 12/18/2023

If this is something that needs to be interactive, check field events:
https://xlinesoft.com/phprunner/docs/field_events.htm

I guess the event you looking for is 'change'.

Dalkeith author 12/19/2023

Thanks Xline