HTML quickform: opening a new form when process() is execuited



Hello

Here i am having probelm (i am unknown with this).
env: PHP 5.04,HTML QuickForm,DB Windows 2003
Global.... is OFF

I need the functionality of opening a new form , after the validation
is successful.
(i.e direct the logic to other php file inside the process() and able
to access the Form elements.

Part of my PHP program look like this.

1. Enter some elements in the quickform

2. validate like this

if($obj_search_form->validate()) {
// post-validation filters
$obj_search_form->applyFilter('__ALL__', 'addslashes');
$obj_search_form->applyFilter('__ALL__', 'htmlspecialchars');

// "search_mserver_logdata" function to store
$obj_search_form->process('search_mserver_logdata', false);
<ZAP>
<ZAP?

3. function

// function to store search information
// and call the other form and process data
function search_mserver_logdata($ary_sloginput_info) {

< HERE I want to call other FORM say Sresulet.php and precess the Data
with
>$ary_sloginput_info >


Thanks in Advance

.



Relevant Pages

  • Re: [PHP] Form Loop
    ... I recommend using array notation instead of appending $x to the element ... There is no real need to use IDs for form elements unless you are ...
    (php.general)
  • Re: Need help with Snoopy class function
    ... > to website, obtain the form elements, cycle through the form elements, ... > cannot get snoopy to work. ... We are running php 4.3.7, windows xp, and the Windows IIS ...
    (comp.lang.php)
  • Re[2]: [PHP] Comparing string to array
    ... They can name the form elements with any valid name. ... Which when bought back into PHP will come out as: ... could nest the resulting array as deep in $_POST as they like. ...
    (php.general)
  • Re: [PHP] Comparing string to array
    ... They can name the form elements with any valid name. ... Which when bought back into PHP will come out as: ... could nest the resulting array as deep in $_POST as they like. ... If you have no control over what the fields in the form will be, what are you doing with the data? ...
    (php.general)
  • Re: FAQ Topic - How do I access a property of an object using a string?
    ... it using it's name but the "term" will be known at programming time. ... When form elements are submitted to PHP on the server, any like names followed by are automatically put into a PHP array. ... It has nothing to do with dictating javascript property names, it has to do with having to use bracket notation to access that form element when it is named like that. ...
    (comp.lang.javascript)