I tried the script you provided and it gives an error. see attached. 

I tried a catalog client script and it displayed the pop up message but did not include the variable results for request_name. See attached. any other ideas?

 

function onSubmit() {
g_form.getReference('request_name', doPopup);
// g_form.getReference('requested_for', doPopup);
}

function doPopup(reqFor) {
var popup = confirm('Are you sure the request name field is correct ' + reqFor.getValue('name') + '?');
// alert('popup val is: ' + popup);
// if (!popup) {
// return false;
// } else {
// return false;
// }
}