Keep field value after submission


This Discussion is public


I have a form that is used to submit questions. It is on a page that cannot be refreshed so submits by ajax, then displays the confirmation message with the form. The form has fields for visitor name, email and question. On  form submission all fields are refreshed and therefore blank. I would like to keep their name/email in those fields, and simply refresh the question field. Is this possible? Thanks for your help!

You're asking to do something that's not designed into Formidable, so this will require custom coding. If I had to address this requirement for one of my projects, I would use the browser's local storage to save the name and email values to variables, then restore them on refresh. There may be other ways to do this, but they may be even more complex.

Reply to this Discussion