Custom validation function for Block configuration form?
17 Mar
2008
17 Mar
'08
4:54 a.m.
Hi all, I've just created my own block module, and a configuration form for it. Now I just wonder whether it is possible to add my own validation function before Drupal save the block configuration? I tried to add the code like: $form[#validate][] = 'my_validation_function_name'; But it seems it doesn't help. So the question is whether Drupal support to do this during the configuration of block. If so, then how I can achieve this? Thanks in advance. travis
6670
Age (days ago)
6670
Last active (days ago)
0 comments
1 participants
participants (1)
-
Travis Lu