Alan
unread,May 5, 2015, 8:37:41 PM5/5/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to suppor...@runmyprocess.com
Hi,
I'm trying to use jquery dialog box in pre launch script of Button widget(button name is "Submit"). This button action is "Start Process"
When a user click Submit button, it shows jquery dialog box include buttons called "Yes", "No"
Then a user click "Yes" button, current WI have to be submited. But dialog box stuck without action.
This is Pre Launch Script.
$(function(){
$("#id_dialog").dialog({
autoOpen: false,
modal:true,
width:450,
title: 'Confirm Submit',
buttons : {
"Yes" : function() {
$(this).dialog("close");
return true;
},
"No" : function() {
$(this).dialog("close");
}
}
});
});
function showjQueryDialog() {
id_dialog.setVisible(true);
$("#id_dialog").dialog("open");
}
if (RMPApplication.validate())
{
showjQueryDialog();
} else {
alert('required field is empty');
}
I know pr launch script have to return TRUE to process continuously.
How to return true in order to submit WI when a user click "yes" button?
Could you help this ?
Regards,