Update fields if value is changed

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
eagle
Veteran Member
Posts: 39
Joined: 2013-01-09 15:38

Update fields if value is changed

Post by eagle » 2017-02-16 00:17

I have the following fields in my project:

TextFieldA - Text

SignatureA - Date

TextFieldB - Text

SignatureB - Date

When a record is updated ( records are never created in this project - there are only existing records ) I want to do the folowing:

If the content of TextFieldA is changed ( meaning that the value now stored is different from what it was before saving ) the current date should be stored in SignatureA.

If the content of TextFieldB is changed ( meaning that the value now stored is different from what it was before saving ) the current date should be stored in SignatureB.

When a record is updated, TextFieldA and/or TextFieldB may or mat not be changed. If there are no changes - the date fields should not be updated.

Hope you understand what I am trying to accomplish.

Thanks for all help!

Post Reply