Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit bed211e

Browse files
committed
Merge pull request #6216 from chloealee/address-validation
Address validation
2 parents a29e84b + ab50d29 commit bed211e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/modules/dosomething/dosomething_user/dosomething_user.module

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,9 @@ function dosomething_user_info_form($form, &$form_state, $account) {
12921292
'#value' => t('Submit'),
12931293
),
12941294
);
1295+
1296+
$form['#validate'][] = 'dosomething_user_validate_address_field';
1297+
12951298
return $form;
12961299
}
12971300

0 commit comments

Comments
 (0)