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.