<div><font face="Lucida Console">Hi All</font></div>
<div><font face="Lucida Console">I am trying to understand, what this 'page arguments' is.</font></div>
<div><font face="Lucida Console"></font> </div>
<div><font face="Lucida Console"></font> </div>
<div><font face="Lucida Console">$items['accountant/edit/registry/%'] = array(<br> 'type' => MENU_CALLBACK,<br> 'title' => 'Create Registry',<br> 'page callback' => 'drupal_get_form',<br>
'page arguments' => array('accountant_registry_form',3),<br> 'access callback' => 'user_access',<br> 'access arguments' => array('accountant create registry'),<br>
); </font></div>
<p><font face="Lucida Console">Page arugments contains a function name 'accountant_registry_form' and 3 number of arguments.</font></p>
<div>So the function <font face="Lucida Console">'accountant_registry_form' is automatically called, or need to be called from my custom module. Will there be 3 argumenets, if so what are these 3 arguments and where it is mentioned.</font></div>
<div><font face="Lucida Console"></font> </div>
<div><font face="Lucida Console">Can somebody give me a high level explaination and point me to a right link/document to understand this.</font></div>
<div><font face="Lucida Console"></font> </div>
<div><font face="Lucida Console">Thanks</font></div>
<div><font face="Lucida Console">Austin</font></div>
<div><br><br></div>
<div class="gmail_quote">On Tue, Apr 12, 2011 at 7:09 AM, Austin Einter <span dir="ltr"><<a href="mailto:austin.einter@gmail.com">austin.einter@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi All</div>
<div>I have a search text field, and a search button. </div>
<div>If user presss search button, I redirect to a new page and 'page callback' function invoked. </div>
<div> </div>
<div>I wanted the data entered in search text field (that was present in form of previous page) should be available in 'page callback' function.</div>
<div> </div>
<div>Is this possible?</div>
<div> </div>
<div>Regards</div>
<div>Austin</div><font color="#888888">
<div> </div></font></blockquote></div><br>