WordPress contact form 7 text value change
WordPress - Contact Form 7 I am trying to find out the filter to modify the cf7 field value when someone enter values in it. when user type in textfield and submit data, validate - I had done should not goto thank you page if invalid entry - I had done replace text field with new data - Not Done Eg: 1 add_filter( 'wpcf7_validate_text*', 'your_validation_filter_func_tel', 100, 2 ); function your_validation_filter_func_tel( $result, $tag ) { $Yourvalue = $_POST['your-number']; if ( strlen( $Yourvalue ) == 2 ) { $result->invalidate( 'your-number', "Please enter a valid number. " . ); // HERE I