5 Nov
2005
5 Nov
'05
8:38 p.m.
On Fri, 04 Nov 2005 11:38:08 +0100, Robrecht Jacques <robrechtj@gmail.com> wrote:
Forgot one question:
4. If I use a [form_id]_execute function, how do I know which button on the form was pushed? Am I still supposed to look into $edit['op']?
Yes, looking at $_POST['op'] is fine. Jut look, never store/write it out.
Or alternatively, how can I attach a different _execute function to each submit button, similar to "#valid" ?
ATM you can't. Regards NK