Has a field value changed?

Viewing 2 reply threads
  • Author
    Posts
  • November 8, 2026 at 7:08 PM #54739

    John Hamill
    Participant

    Hello,

    I am using JavaScript and I have a situation where I need to reset a particular field to null if another field in a record has “changed value” (been amended by the user).

    My understanding is that in a field level script, the script will only be executed if a getFieldValue command is included in the script – this is the trigger to execute the script. Once the script is executed, the script will then reference the *new* values that the user has entered.

    Considering this, how can I determine if a user has amended a particular field in a record. I have the information that the user has definitely changed some of the data in the record, but how can I determine if he has changed a value in a particular field?

    Thanks for any assistance.

    • This topic was modified 1 day, 4 hours ago by John Hamill.
    • This topic was modified 1 day, 4 hours ago by John Hamill.
    November 8, 2026 at 8:25 PM #54742

    John Hamill
    Participant

    Addendum:

    I am thinking that the only way to achieve this will be to create a new field in the table that contains the previous value of the field that I wish to monitor. Then compare the previous value with the current value.

    Any comments gratefully received.

    November 9, 2026 at 12:40 PM #54752

    Brendan
    Keymaster

    Hi John,

    Ya, I think you’re right. There’s no mechanism to get a value from a field before it’s changed.

    Thanks,

    Brendan

Viewing 2 reply threads

You must be logged in to reply to this topic.