Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Notifications not being recieved Via Email #33208
    studio T
    Participant

    Hello Ally,

    I am having also issues with the Notifications not being received.
    I can see them in the system, however they are not arriving in the email.

    I can send through login details if required.
    info@themecatcher.net

    Best regards,
    Marco

    in reply to: Validate IBAN PHP #32507
    studio T
    Participant

    Hi Ally,

    Perfect! It worked.
    Thank you once again.

    Best regards,

    in reply to: Validate IBAN PHP #32503
    studio T
    Participant

    Hi Ally,

    It worked excellent! Thank you for your time.
    One more thing. How to add to other forms that i have the same function?
    There unique IDs are 4_37, 3_37, 6_37, 1_37
    Same forms, different locations.

    Best regards.
    Keep up with good work!

    • This reply was modified 4 years, 4 months ago by studio T.
    • This reply was modified 4 years, 4 months ago by studio T.
    in reply to: Validate IBAN PHP #32498
    studio T
    Participant

    Hi Ally,

    One more thing. I tried to implement the code

    add_filter(‘quform_element_valid_5_37’, function ($valid, $value, Quform_Element_Field $element) { if (!preg_match(‘/^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$/’, $check)) {
    return false;
    }

    $country = substr($check, 0, 2);
    $checkInt = intval(substr($check, 2, 2));
    $account = substr($check, 4);
    $search = range(‘A’, ‘Z’);
    $replace = [];
    foreach (range(10, 35) as $tmp) {
    $replace[] = strval($tmp);
    }
    $numStr = str_replace($search, $replace, $account . $country . ’00’);
    $checksum = intval(substr($numStr, 0, 1));
    $numStrLength = strlen($numStr);
    for ($pos = 1; $pos < $numStrLength; $pos++) {
    $checksum *= 10;
    $checksum += intval(substr($numStr, $pos, 1));
    $checksum %= 97;
    }

    return ((98 – $checksum) === $checkInt); { $element->addError(‘The value is not Foo’); $valid = false;
    }

    return $valid;
    }, 10, 3);

    Is this right?
    My element unique ID is 5_37. This is my form link im trying to implement the IBAN validator.
    https://studiot.agency/tennisfactory/termine/tennis-club-herrsching-e-v/
    https://stackoverflow.com/questions/20983339/validate-iban-php/20983340#20983340

    I need your pro experience 🙂
    Best regards.

    in reply to: Validate IBAN PHP #32491
    studio T
    Participant

    Hi Ally,

    If I understood correctly with this code the input will check if the IBAN numbers are valid?
    Despite having 22 characters the validator will recognize the numbers of account? Like on example with credit card.. I attach pic if you know what i mean.

    Best regards,
    Marko

    • This reply was modified 4 years, 5 months ago by studio T.
    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy