Mar 8th, 2010, 12:23 PM
In the sub-section of test transmission of section of add form, I have to point my existing form php file to Form Tool either by direct method or by code method. Since I am not an expert, I prefer the easier direct method. Question is: can I use direct method for forms prepared in any way? I don'f find it easy to apply the direct method to my form script, the first few lines are like this:
<?PHP
require_once("./includes/visaform-lib.php");
$formmailobj = new FormMail("visaform");
$formmailobj->setFormPage(sfm_readfile("./templ/visaform_form_page.txt"));
$formmailobj->setFormID("d91d4aec-8040-4ce3-a30a-df4d2e9b86a2");
How can I apply the following direct method to the above?:
<form action="http://www.bangladeshembassy.org/formtools/process.php" method="post">
<input type="hidden" name="form_tools_initialize_form" value="1" />
<input type="hidden" name="form_tools_form_id" value="1" />
<?PHP
require_once("./includes/visaform-lib.php");
$formmailobj = new FormMail("visaform");
$formmailobj->setFormPage(sfm_readfile("./templ/visaform_form_page.txt"));
$formmailobj->setFormID("d91d4aec-8040-4ce3-a30a-df4d2e9b86a2");
How can I apply the following direct method to the above?:
<form action="http://www.bangladeshembassy.org/formtools/process.php" method="post">
<input type="hidden" name="form_tools_initialize_form" value="1" />
<input type="hidden" name="form_tools_form_id" value="1" />