Home › Forums › Quform WordPress › Moved: Reply To: Add data to custom database
Hi Ally, can you help us ? what is the gap between Quform v1 and quform v2 for update cell, rows in a custom wp table ?
your guide : https://support.themecatcher.net/quform-wordpress/guides/advanced/create-and-edit-custom-database-rows it is for V1…i need help for V2.
i make this, but it is not working (after submit):
add_action(‘quform_post_process_32’, function (array $result, Quform_Form $form) { $address_departA_update = $form->getValue(‘quform_32_7’); $wpdb->update( ‘list_resa’, array( ‘address_depart_aller’ => $address_departA_update, // string ‘quantity’ => ‘2’ // integer (number) ), array( ‘uresa_id’ => 1 ) ); return $result; }, 10, 2);
Thank you !
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.