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’]); }