unless you want to check the values against the DB values
first, and then run the procedure, my suggestion may be to have 4
The 2 fields you mention and then 2 hidden fields that
contain the data from the DB - when you submit the form, compare
the hidden fields with the visible fields and see if anything
changed. If they changed, then run the procedure.