Decrease an available count in another form
add_action(‘frm_after_create_entry’, ‘after_entry_created’, 30, 2); function after_entry_created($entry_id, $form_id){ if($form_id == 5){ //change 5 to the ID of your reservations form global $wpdb; $reward_ids = $_POST[‘item_meta’][25]; //change 25 to the ID of your Dynamic dropdown field in your reservations form $seat_count_field =…Continue reading