[support] processing forms : 4.6.2

vrao vrao at misteam.net
Mon Nov 14 18:04:25 UTC 2005


This was answered on freenode. I was missing form($output). Thanks
----- Original Message ----- 
From: "vrao" <vrao at misteam.net>
To: <support at drupal.org>
Sent: Monday, November 14, 2005 9:13 AM
Subject: [support] processing forms : 4.6.2


> Hi,
> 
> How does one process forms in drupal 4.6.2 ? 
> 
> I have :
> $dummy="hello";
> $output .= form_checkbox($dummy,$dummy,1,$edit[$dummy]);
> $output .= form_submit(t('Submit'));
> print theme('page', $output);
> 
> But how do I read the values after user clicks 'submit' ?
> 
> I have
> $op=$_POST['op'];
> $edit=$_POST['edit'];
> 
> But both are empty when I read them.
> 
> 
> Thanks,
> 
> V
> 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
>



More information about the support mailing list