[support] Whats is form id

bharani kumar bharanikumariyerphp at gmail.com
Mon Sep 1 13:56:41 UTC 2008


Hi

I created the custom login,

where the session are maintain in the drupal..that is after login ..also..it
shwoing  the login and register link..
how i face this situation

On Mon, Sep 1, 2008 at 6:23 PM, William Smith <william.darren at gmail.com>wrote:

> You don't need to supply those arguments - functions that have form_id and
> form_values as arguments are hooks and are called directly by the system
> with the proper variables passed in.
>
> For example, you could define your function like this:
>
> function user_login_submit($form_id, $form_values) {
>   print "The user login form was just submitted, with form id $form_id";
>   print "The form values are:";
>   print "<pre>"; print_r($form_values); print "</pre>";
>   exit;
> }
>
> And when you submit the user login form, you should see how they are
> pre-populated.
>
> On Mon, Sep 1, 2008 at 1:15 AM, bharani kumar <
> bharanikumariyerphp at gmail.com> wrote:
>
>> Hi Dears
>>
>> what is form_id,form_values,
>>
>>
>> what should we have to supply for this arguments,
>>
>> Assume For example
>>
>> user_login_submit($form_id, $form_values)
>>
>>
>>
>> Thanks
>>
>> Regards
>>
>> B.S.Bharanikumar
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080901/810b0db1/attachment.htm 


More information about the support mailing list