Replies: 0
I have a contact form with some hidden text boxes, that the user cannot modify.
I want to make it so that when the user registers it does not save the data in the database.
I have tried the following:
add_filter('vsz_cf7_unwanted_form_data_submission','vsz_restrict_form_data_submission');
function vsz_restrict_form_data_submission($contact_form_ids){
$contact_form_ids = array('nosave');
return $contact_form_ids;
}
and then giving the id nosave to the textfields, however it is not working, can anyone help me out?
Also it seems like the form stores data such as “_wpcf7cf_hidden_group_fields” and more. Is this data necessary? and if not, how do I stop it from being stored?