Change Master field when Save Grid edit

Hi,

Is it possible to change a Master field from 0 to 1 when the Save button on the Grid edit is pushed. If Possible what I percisely want is:
when the user press Save after grid edit then a popup message asking if he wants to confirm and close the file. If he press Yes then the Master Confirm field must change from 0 to 1.
If he press No just save the file.

thanks in advance,

Gr, Rob

Use the Form_CustomValidate client script to check the value and Javascript confirm command to confirm and then set the value if necessary.