Restore form values when returning to page in iOS Chrome

andlin

Here's how it works in Safari on iOS (and this is the behaviour I want):

If I enter some text into a text field on a page, click a link on the page which loads another page and then returns to the previous page using the back button, the text I entered into the text field is still there.

Using Chrome on iOS, this does not work, however. The textfield is empty when returning to the page.

Is there an explanation for this and is there a solution? Using localeStorage and a cookie to cache the form data doesn't feel like a good solution, as I have to keep track of when that data should be removed from the cache.

apptaro

I have the same issue. After much researching and testing, I concluded that it's a bug for Chrome. I hope Google will fix it soon. Here's the bug report I logged:

https://code.google.com/p/chromium/issues/detail?id=470398

Collected from the Internet

Please contact debug[email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Chrome console not returning values

From Dev

PHP returning null values when the data exists

From Dev

Hide fsStayOnTop form when main form minimizes / prevent automatic restore

From Dev

How to remember scroll pos of the `div` to restore it when page is reloaded?

From Dev

Requests post on form not returning the generated page

From Dev

Timer when leaving app and returning on ios

From Dev

Returning values from functions when efficiency matters

From Dev

Missing values when serializing form

From Dev

About chrome.tabs.executeScript, returning multiple values

From Dev

Chrome Alert Box Submits Page Even if Returning False

From Dev

Javascript still active when returning to previous page

From Dev

Program returning garbage values when returning cstring

From Dev

for loop returning unexpected values when squaring values

From Dev

my php is returning null when values are passed to it

From Dev

Why do I keep losing variable values when submitting a second form on the same page

From Dev

How to remember scroll pos of the `div` to restore it when page is reloaded?

From Dev

Pagination only returning first page values

From Dev

Returning all values when SPROC variable is NULL

From Dev

Missing values when serializing form

From Dev

Form submitting even when it is returning false

From Dev

dropdownlistfor helper values not appearing when returning a view

From Dev

Custom EditorTemplate not returning Form values Correctly

From Dev

get the form values in php in the same page of the form

From Dev

Form Values to same page

From Dev

Best practice when returning boolean values in PHP

From Dev

Handle ViewExpiredException in the background and restore form values

From Dev

Keeping the values of form on page

From Dev

Jquery Submit Form returning target page HTML

From Dev

Injected script from chrome extension returning values multiple times

Related Related

  1. 1

    Chrome console not returning values

  2. 2

    PHP returning null values when the data exists

  3. 3

    Hide fsStayOnTop form when main form minimizes / prevent automatic restore

  4. 4

    How to remember scroll pos of the `div` to restore it when page is reloaded?

  5. 5

    Requests post on form not returning the generated page

  6. 6

    Timer when leaving app and returning on ios

  7. 7

    Returning values from functions when efficiency matters

  8. 8

    Missing values when serializing form

  9. 9

    About chrome.tabs.executeScript, returning multiple values

  10. 10

    Chrome Alert Box Submits Page Even if Returning False

  11. 11

    Javascript still active when returning to previous page

  12. 12

    Program returning garbage values when returning cstring

  13. 13

    for loop returning unexpected values when squaring values

  14. 14

    my php is returning null when values are passed to it

  15. 15

    Why do I keep losing variable values when submitting a second form on the same page

  16. 16

    How to remember scroll pos of the `div` to restore it when page is reloaded?

  17. 17

    Pagination only returning first page values

  18. 18

    Returning all values when SPROC variable is NULL

  19. 19

    Missing values when serializing form

  20. 20

    Form submitting even when it is returning false

  21. 21

    dropdownlistfor helper values not appearing when returning a view

  22. 22

    Custom EditorTemplate not returning Form values Correctly

  23. 23

    get the form values in php in the same page of the form

  24. 24

    Form Values to same page

  25. 25

    Best practice when returning boolean values in PHP

  26. 26

    Handle ViewExpiredException in the background and restore form values

  27. 27

    Keeping the values of form on page

  28. 28

    Jquery Submit Form returning target page HTML

  29. 29

    Injected script from chrome extension returning values multiple times

HotTag

Archive