search

Home  >  Q&A  >  body text

php do a questionnaire

How to use PHP to implement the nested sub-questions under the questions in the questionnaire and the automatic saving function when leaving the page midway

紫颦晨曦紫颦晨曦1951 days ago1440

reply all(3)I'll reply

  • innocence

    innocence2019-07-27 11:30:26

    Refer to the method of ue editor, you can save the content to localstorage regularly. It is easy to find out how to serialize the form and how to operate localstorage.

    For example: The post in Tieba has not been posted, and the content will still be there next time you open it


    reply
    0
  • kanglecheng

    kanglecheng2019-07-26 17:37:17

    Can be saved in real time, novices can use ajax to submit data and save it

    reply
    0
  • 紫颦晨曦

    Um, is there any specific code, or an example? I'm a newbie and I don't know how to do it at all [

    紫颦晨曦 · 2019-07-26 18:20:38
  • Cancelreply