Please help with Javascrip code to implement a Yes/No response from a Msgbox. Either case I still want to submit the form but do different processing depending on the answer.
(Confrim does NOT submit when you select Cancel, and Alert has only OK). Do I perhaps need a hidden field to store a value for the answer .. and then use a Case/Switch? I am newbie to Javascript.... please help with javascript code!!!!
If MsgBox("Save before Exit?",vbYesNo)="Yes" then
SaveRecord()
RetrieveNextRecord()
else
RetrieveNextRecord()
end if
Mikey
(Confrim does NOT submit when you select Cancel, and Alert has only OK). Do I perhaps need a hidden field to store a value for the answer .. and then use a Case/Switch? I am newbie to Javascript.... please help with javascript code!!!!
If MsgBox("Save before Exit?",vbYesNo)="Yes" then
SaveRecord()
RetrieveNextRecord()
else
RetrieveNextRecord()
end if
Mikey