• I come through https://cfdbplugin.com/?page_id=904 page,
    my last lines are as below:

    function my_validate_email($result, $tag) {
        $formName = 'form_chk_multi'; // Change to name of the form containing this field
        $fieldName = 'mo_phone'; // Change to your form's unique field name
        $errorMessage = 'This Mobile No. is already Registered with us.'; // Change to your error message
        $name = $tag['name'];
        if ($name == $fieldName) {
            if (is_already_submitted($formName, $fieldName, $_POST[$name])) {
                $result->invalidate($tag, $errorMessage);
            }
        }
        return $result;
    }
     
     
    // use the next line if your field is a **required text** field
    add_filter('wpcf7_validate_tel*', 'my_validate_email', 10, 2);

    its not working, i’m using “Shortcodes Actions Filters” plugin with checked “activated status. but when I deactivate this so mail came & entries are also done.

    The page I need help with: [log in to see the link]

  • The topic ‘not working with tel selector’ is closed to new replies.