
Hi All,
I want to open a popup, in that i want a text field and a button, in resco field service mobile application.
I am having below code which popup's up two button and on clicking of that button i want above functionality,
var popup = new MobileCRM.UI.MessageBox("Click the button");
//var popup = new MobileCRM.UI.MessageBox(html);
/// Add the buttons for message box
popup.items = ["Button A", "Button B"];
/// If title is too long set the 'multi-line' to true
popup.multiLine = true;
popup.show(
function (button) {
if (button == "Button A")
{
// open a popup with text field and submit button
}
else
{
// open a popup with text field and submit button
}
}
);
Any help would be appreciated.
Regards,
Shahbaaz