In the example below I typed some text and clicked a radio button. Either of these actions would have prompted the warning message to be displayed once leaving the page.
ADDING ATTRIBUTES TO FIELDS
1. On the input fields add onclick (or onchange) attributes to the fields you want to track for any changes.
Sample project attached.
CheckDataEntryChgs.zip (139.98 kb)