window.doSubmit() causing an alert in the mobile app submission
We are using a mobile app and in that we have 7 stages to finish the application/case for the customer. This application is running in both online and offline modes. Currently, the app is running fine in both online and offline modes and no issues. But when I added some UI changes (dynamic layouts and validations) on the last screen and I try to submit the screen I am seeing an alert "Please sign to finish the assignment.". Due to this alert I am unable to proceed further. The UI changes are pretty simple like 4 textboxes (mandatory) to capture the data from the user. We have signature control in our application and that control specific logic is not needed for my new changes. Not sure that this alert is coming from that signature control. I have checked the device logs and I see an err like failed to run the datatransform in the post action of the flow action. Not sure whether this err is related to my alert, new UI changes and all. Without my new changes I am able to submit the application without any errs in the logs. By the way, we have a JS function is used to submit the form data based on certain logic. From that JS function, we have window.doSubmit() is the final step to submit the data. Hoping that this doSubmit() is causing this alert and I am not sure on what is going in this doSubmit().
Can someone please help me on how to get rid of this alert from the screen?
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Keep up to date on this post and subscribe to comments