Update field value in af/form/submission
-
Hi,
I’m hooking into af/form/submission, and making a change to the value of one of the fields in the $fields array.
I had assumed that would be enough, that my change would be automatically saved, but have found that not to be the case.
I’ve since read that I need to use af_save_field to update a field, but it requires a post_id, and I don’t know what the post ID is – how do I retrieve the post ID? Or should I be making changes to the $fields array at some other point in order that my changes be saved?
Many thanks in anticipation
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Update field value in af/form/submission’ is closed to new replies.