• Resolved matfr

    (@matfr)


    Hello,

    I have a question but I don’t know if it’s possible,

    When entering informations into a form if the user leaves the page or has an internet breakdown, is it possible to “save” the informations of the form so that the next time he comes back to the page the fields he already entered are still there ?

    Thank you,

    Mat.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @matfr !

    I hope you’re doing great today!

    Our team will be working on adding this feature to the plugin so it will be available by default in the future.

    For now we have a code snippet which will do exactly that:

    Snippet: https://gist.github.com/wpmudev-sls/9917696b87543e3edb92e84f41933be0

    How to install:
    – copy the code to a .php file
    – edit the code on line 28 to adjust the form IDs where this should be applied: $allowed_form_ids = should be applied: array( 6, 11, 12, 345, 6434 );
    – you can find the form’s ID in the shortcode or in the URL of that form’s edit screen
    – optionally: on line 36 adjust when you want to save the data (please see the comment above that line for more details)
    – save and upload the file to wp-content/mu-plugins/ directory (please create if it doesn’t exist)

    Warm regards,
    Pawel

    Thread Starter matfr

    (@matfr)

    Hello Pawel,

    I hope you’re doing good today,

    That worked great !

    Thank you for your quick reply and have a nice day !

    Best Regards,

    Mat.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Save form informations’ is closed to new replies.