I have a button at the end of a form which runs an update query and I added a message that pops up asking the user to confirm if the record is to be updated. I now would like to give the user another choice, how can I add an extra button to accomplish this? Here's the code I have so far:
function doSaveRpt(button, command)
var message = "Are you sure you want to save this report?";
var proceed = confirm(message);
button.form.command.value = command;
With this code, I only get two buttons, OK and Cancel. I would like to change the display of the buttons, for example, Save and Complete, Save and Pending, Cancel. Thanks!