Page 1 of 1
How do i reset values in textboxes/select menus when loading the page again.
Posted: Fri Jan 25, 2013 1:20 pm
by BjornS
In my app the user fill in a report form and send it to a backend. When that is done i want the start screen to reset all values back to the default ones so they can make a new report if needed. So i need to clear all values. How do i do that? Do i need a javascript to do it or is there some onload event i can use. I have already tried full screen refresh and the old values are still there.
How do i reset values in textboxes/select menus when loading the page again.
Posted: Fri Jan 25, 2013 1:49 pm
by Kateryna Grynko
Hello,
I've just tested full screen refresh - it works for me. Do you use it on the second page with "Back" button?
How do i reset values in textboxes/select menus when loading the page again.
Posted: Fri Jan 25, 2013 1:53 pm
by BjornS
When they are done with filling in the form they push a button and on success the move to a new page where it says thank you for sending etc. On that page there is a button that will load the startScreen again when tapped on. I use navigate to page and i use full screen refresh and still i got the old values still there. Is there anything i do wrong? Seems like its come cache thing.
How do i reset values in textboxes/select menus when loading the page again.
Posted: Fri Jan 25, 2013 3:27 pm
by Kateryna Grynko
Untick "Render all pages in one HTML file" in project settings.
This must help 
How do i reset values in textboxes/select menus when loading the page again.
Posted: Fri Jan 25, 2013 7:24 pm
by BjornS
That did solve the problem
Thx!
How do i reset values in textboxes/select menus when loading the page again.
Posted: Mon Oct 07, 2013 6:02 pm
by Scott Schechtel6280324
I have not been able to refresh my cache. I am on an Android and can refresh the search results in a browser but not my phone. Any tips?
How do i reset values in textboxes/select menus when loading the page again.
Posted: Mon Oct 07, 2013 7:30 pm
by Kateryna Grynko
Hi Scott,
For each component you can reset values via Set property action on Page Show event .
How do i reset values in textboxes/select menus when loading the page again.
Posted: Mon Oct 07, 2013 7:35 pm
by Scott Schechtel6280324
It looks like simply tapping the Home screen after seeing the results refreshes the cache just fine as well. Thanks,