Validate password field
add_filter(‘frm_validate_field_entry’, ‘check_user_pass’, 10, 3); function check_user_pass($errors, $posted_field, $posted_value){ if($posted_field->id == 6369){ //change 6369 to the ID of the password field to validate if(!preg_match(‘/^(?=.*[A-Za-z])(?=.*d)[A-Za-z!@#$%&*()?d]{8,}$/’, $posted_value)) { $errors[‘field’. $posted_field->id] = ‘Password must be at least 8 characters long and contain at least…Continue reading