Skip to main content
9 events
when toggle format what by license comment
Nov 6, 2015 at 9:34 vote accept monster
Nov 5, 2015 at 14:27 comment added Clive No worries, that's actually a more straightforward method to accomplish this anyway, I've chucked a quick answer in
Nov 5, 2015 at 14:26 answer added Clive timeline score: 4
Nov 5, 2015 at 14:26 comment added monster Sorry Clive, I made an error: the method is not being called! The form_alter method is running ($form['#validate'][] = "myfunc_form_user_register_form_validate";
Nov 5, 2015 at 14:23 comment added Clive I would check $form_state['values']['number'] in that case - as far as PHP is concerned, the string doesn't contain a valid number (that's the only way is_numeric would fail)
Nov 5, 2015 at 14:19 comment added monster 1) I assume so: $form['#validate'][] = "myfunc_form_user_register_form_validate"; 2) Yes, it is being called.
Nov 5, 2015 at 13:16 answer added Shabir A. timeline score: 0
Nov 5, 2015 at 13:04 comment added Clive How have you attached the validate handler to the form? Are you 100% sure myfunc_form_user_register_form_validate has been invoked?
Nov 5, 2015 at 13:03 history asked monster CC BY-SA 3.0