Hi, Thanks for your help.
for frm_after_update_entry, I would new the write the values of the fields that I wish to update to the database right?
I realize frm_pre_update_entry is executed every time the NEXT or PREVIOUS button is clicked based on log info. Is that correct?
I tried to use $_POST['item_meta'][$field_id] = $_SESSION['some_value'] then return $values but it didn't work as the values in the database didn't change. However the above code works when I use frm_validate_entry which is called each time the NEXT or PREVIOUS button is clicked.
In the ideal situation, I would rather use $_POST to manipulate the data when UPDATE button is clicked rather than having to manipulate the database. which hook will best achieve this without having this hook activated only when UPDATE/SUBMIT button is clicked and not NEXT or PREVIOUS button is clicked.
Thanks!
Please login or Register to submit your answer