Uppercase letters in mail that been sent

Home Forums Quform WordPress Uppercase letters in mail that been sent

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33754
    mrvintervind
    Participant

    Hello, I searched about a problem and that´s our customer service need to have all mails in capital letters when they got mail via our complex contact form. So it need to convert letters to capital letters.
    I found a tested the code below, but it does not seem to work, are there any other ideas to get it to work?
    I have the correct ID´s. It should also work with swedish letters (å, ö, ä) and also german (ü, ß) and dannish (æ, ø) special characters.

    add_filter(‘quform_pre_process_1’, function (array $result) {
    if (isset($_POST[‘quform_1_4’])) {
    $_POST[‘quform_1_4’] = strtoupper($_POST[‘quform_1_4’]);
    }

    if (isset($_POST[‘quform_1_36’])) {
    $_POST[‘quform_1_36’] = strtoupper($_POST[‘quform_1_36’]);
    }

    #33759
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy