wpFluent QueryBuilder fieds not inserted or updated
-
I use fluent form in wordpress and want to update or insert values in the table fluentform_entry_details
I can see changes in database but if I refresh my form on wordpress nothing changed
What did I miss ?
Thank you for your help
I tried things like
wpFluent()->table('fluentform_entry_details')
->where('form_id', registrationFormId)
->where('submission_id', $submissionId)
->where('field_name', 'member_card_id')
->update(['field_value' => $cardId]);
do_action('fluentform/entry_updated', $entryId, $data);OR
$data = [
'form_id' => $registrationFormId,
'field_name' => 'member_card_id',
'submission_id' => $submissionId,
'field_value' => $cardId
];
$entryId = wpFluent()->table('fluentform_entry_details')->insertGetId($data);
do_action('fluentform/entry_updated', $entryId, $data);
On a select on database my field is updated or inserted but on wordpress, on the entriy of my form it is not
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.