function engagements_mass_sms_form_validate
Search API
7.x engagements.module | engagements_mass_sms_form_validate($form, $form_state) |
6.x engagements.module | engagements_mass_sms_form_validate($form, $form_state) |
File
- modules/
engagements/ engagements.module, line 613 - This is the primary module file for the engagements module.
Code
function engagements_mass_sms_form_validate($form, $form_state)
{
$values = $form_state ['values'];
$pass = $values ['password'];
if ($pass !== variable_get('sms_mass_sms_password', 'changeMe')) {
form_error('password', t("Sorry, but you did not enter the correct Mass SMS password. Please try again."));
}
}