Viewing 2 reply threads
  • Author
    Posts
    • #9339
      mikakoo
      Participant

      Hi all,
      I’ve got a FEF to edit a CPT, where all works fine when I make a change the first time.
      After submit I get the form page back with a notice to say it has saved, and sure enough the data has changed.
      If I then make another change and submit, it looks like it works from the front end, however the changes are not saved into the database.
      It is not until I reload the page (not refresh) that I can make changes and have them save.

      The difference I can see in comparing the source of the page in ‘fresh’ state and ‘after submit’ state is the attributes data-piklist-field-group=”xxxxxx” – which changes every time it is rendered anyway.

      My current workaround is to dynamically redirect the user back to the normal view of the CPT (just about to post a question on this), but would prefer the option of staying on the page unless user indicates so (e.g. Save | Save and go back)

      Thanks for any help.

    • #9352
      Steve
      Keymaster

      @mikakoo– If you can post your code here, or gist that would help.

    • #9354
      Steve
      Keymaster

      whoops! Look like you already did:

      Dynamic Redirect on Front End Form

      I’m going to mark this resolved.

Viewing 2 reply threads
  • The topic ‘Front End Form – subsequent edit issue’ is closed to new replies.