Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
- AuthorPosts
hendratok
ParticipantYes lol, thanks I just realize my form should be 4_11, thanks
hendratok
ParticipantHi there, I tried create new version hook, but it seem don’t work?
function block_free_email_addresses($valid, $value, $element)
{
$pattern = ‘/@(.+\.)?(gmail|googlemail|hotmail|live|msn|outlook|yahoo|ymail|aol)\./i’;if (preg_match($pattern, $value)) {
$element->addError(‘Please provide your business email.’);
$valid = false;
}return $valid;
}
add_filter(‘quform_element_valid_1_11’, ‘block_free_email_addresses’, 10, 3);
`- This reply was modified 2 years, 3 months ago by
hendratok. Reason: fix code mess
hendratok
Participantwow damn cool! thanks!
hendratok
ParticipantThanks Ally! Got it 😀
hendratok
ParticipantThanks Ally, I tried disable the flash upload. still get null for the $file. ok I just sent the file functions.php info@themecatcher.net thanks
- This reply was modified 2 years, 3 months ago by
- AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)