Hi,
I have created a simple logic which triggers an alert box when a specific field value changes on my form.
It is a confirmation alert box where you have to "verify" before the field value changes from No to Yes.
I would like to extend this logic to include an automatic save of the table form itself. Once you have clicked "confirm" on the alert box and the field value changes, then it should trigger an automatic save of the form.
Below is the logic I have so far:
function test_markcompleteuser_onchange ()
{
var approval = confirm("Do you wish to send this record for approval?");
if (approval)
{
alert("Press OK and save the form to proceed");
}
else
{
}
}
Any help would be greatly appreciated. Thanks!