Question
GovCIO
US
Last activity: 9 Jan 2018 10:02 EST
Question on pxSignatureCapture control's Action mode in mobile
Hi,
We are using the signature control to capture the signature in both Desktop and mobile for our V7.2.2. No customization on this control and is used as it is. We have added a new functionality for our application and in that we don't want to use the signature controls. That means we don't touch the action of the signature from both Desktop and mobile. In Desktop version, we are able to submit the final screen without taking action on the signature controls based on certain logic used. For the same, we are unable to submit the screen since the action of signature control is validated somewhere in the OOTB code and due to that we are getting an alert "Please sign to finish this assignment" in mobile side. Attached the screenshot from the mobile side. I tried to fix this issue by checking all the JS files and the script functions for the mobile side in our application but no clue from where it is coming. Hoping that this is coming from OOTB side and I am not sure on this. Here is the code we used in mobile after clicking the Submit button.
var SubmitApplication = function(){
/* Logic for all our app validations */
if(SubmitForm == true)
{
//alert('Submitting the assignment');
//doFormSubmit('pyActivity=FinishAssignment');
//doFormSubmit('pyActivity=class.ActivityOperations');
window.doSubmit();
}
else
{
//alert('In else');
alert("Please sign and tap accept to finish this application");
}
};
Hi,
We are using the signature control to capture the signature in both Desktop and mobile for our V7.2.2. No customization on this control and is used as it is. We have added a new functionality for our application and in that we don't want to use the signature controls. That means we don't touch the action of the signature from both Desktop and mobile. In Desktop version, we are able to submit the final screen without taking action on the signature controls based on certain logic used. For the same, we are unable to submit the screen since the action of signature control is validated somewhere in the OOTB code and due to that we are getting an alert "Please sign to finish this assignment" in mobile side. Attached the screenshot from the mobile side. I tried to fix this issue by checking all the JS files and the script functions for the mobile side in our application but no clue from where it is coming. Hoping that this is coming from OOTB side and I am not sure on this. Here is the code we used in mobile after clicking the Submit button.
var SubmitApplication = function(){
/* Logic for all our app validations */
if(SubmitForm == true)
{
//alert('Submitting the assignment');
//doFormSubmit('pyActivity=FinishAssignment');
//doFormSubmit('pyActivity=class.ActivityOperations');
window.doSubmit();
}
else
{
//alert('In else');
alert("Please sign and tap accept to finish this application");
}
};
Can someone pls help me on how to get rid of this issue without changing the existing functionality?
Thanks,
Ravi Kumar.
***Edited by Moderator Marissa to update categories; update SR Details***