Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Saving Form Field Values on Back Button

$
0
0

@Kenyon wrote:

The back button works like a cancel, but I've got a case where I'd like to persist some form field values when the user goes back. localStorage is an option, but I'm wondering if there's a better way.

To further describe what I'm looking for:
1. Screen 1: user fills out Form A, then taps "next"
2. Screen 2: user fills out the form, but needs to change something on Screen 1 so they hit "back"

How do I avoid losing all of the form values on screen 2?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>