Clear data entered in the login screen when app goes to background or when the phone is locked
User enters his credential on the login form. Before click the submit button, the app is sent to the back ground or the phone is locked. When I pull the app back, I would want so see that the username/password fields are cleared. Is this possible with Mendix app ?
Probably you can script something to the pause / resume events from Phonegap / Cordova:
It will require a bit of scripting but it seems possible to me.
I did not try it myself but maybe you could use the login widget from the app store and customize it? Maybe there is a better and straightforward way to achieve what you need. Have a look at this post, where at least part of your requirement was discussed.