<div dir="ltr">You don&#39;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.<br><br>For example, you could define your function like this:<br>
<br>function user_login_submit($form_id, $form_values) {<br>&nbsp; print &quot;The user login form was just submitted, with form id $form_id&quot;;<br>&nbsp; print &quot;The form values are:&quot;;<br>&nbsp; print &quot;&lt;pre&gt;&quot;; print_r($form_values); print &quot;&lt;/pre&gt;&quot;;<br>
&nbsp; exit;<br>}<br><br>And when you submit the user login form, you should see how they are pre-populated.<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 1:15 AM, bharani kumar <span dir="ltr">&lt;<a href="mailto:bharanikumariyerphp@gmail.com">bharanikumariyerphp@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi Dears <br><br>what is form_id,form_values,<br><br><br>what should we have to supply for this arguments,<br>
<br>Assume For example <br><br>user_login_submit($form_id, $form_values)<br><br><br><br>Thanks <br>
<br>Regards<br><br>B.S.Bharanikumar<br></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>