Moodle for mobile

Mobile app caches form post data

 
Picture of JJ Swanevelder
Mobile app caches form post data
 

Hello,

I am using the mobile app on moodle3.5 to enable a custom plugin we have built. The issue that I am having is posted form data from a template is cached and refreshing the page will resubmit the same posted form data.

The dev structure that I am using is as per https://docs.moodle.org/dev/Mobile_support_for_plugins, using the php functions and templates with ionic components. I need a way to clear the form data somehow so that if the user refreshes the page no duplicate requests are handled.


Any help would be hugely appreciated smile

 
Average of ratings: -
Picture of JJ Swanevelder
Re: Mobile app caches form post data
 

Any updates on this one?

 
Average of ratings: -