[development] Passing parametre

Murat Günana mgunana at gmail.com
Wed Dec 4 12:45:15 UTC 2013


Hi Muzaffer,

Form submit callback function takes two parameters. You can implement your
callback function like;

function night_pharmacy_table($form, &$form_state) {
  // debug and implement form and form_state elements in here with your
custom code.
}


On 4 December 2013 12:14, Muzaffer Tolga Ozses <tolga at ozses.net> wrote:

> Hi,
>
> This is really a PHP question, but it involves $form_state, so bear with
> me please.
>
> In my code at
> http://git.webciniz.im/?p=project/night_pharmacy.git;a=blob;f=night_pharmacy.module;h=132b5d4a90692acfadfe9e11af128f712df1c24d;hb=e89e63bb07f064898ca21be1c97aba221b4dbdaf#l57I want to be able to pass $form parameters to night_pharmacy_table, to no
> avail. Can you help me guys?
>
> Thanks in advance :)
>



-- 
Kind regards,

Murat Gunana
Tel: 07927964976
Email: mgunana at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20131204/63992946/attachment.html 


More information about the development mailing list