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
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@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/ ]
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@gmail.comwrote:
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@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/ ]