Zoho People - Auto update Date field

Zoho People - Auto update Date field

I am new to Deluge Scripts so am posting this issue here so someone can assist me. I am working on Zoho People and  tried to use the form validation but cannot figure it out.

I have the employee form with multiple fields and a linear section with the following fields:

(1) Changes (dropdown list Y/N)

(2) ID Expiration Date

(3) Checking Confirmation Date (hidden field)

The Checking Confirmation Date should be updated to the current date when the Changes field is updated to Y/N. This date is only visible to admins. If other changes are made to the form, the Checking Confirmation Date should NOT be updated.

Hope this is clear and someone can assist me.

Thank you

Veronique