The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
How to point my form to Form Tool? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: How to point my form to Form Tool? (/showthread.php?tid=557) |
How to point my form to Form Tool? - tahsan - Mar 8th, 2010 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" /> RE: How to point my form to Form Tool? - martin_undefined - Mar 9th, 2010 Hi, I'm guessing that your form was built using FormMail then? It looks like the lines you have at the start of your form relate to another script (FormMail). (Mar 8th, 2010, 12:23 PM)tahsan Wrote: the first few lines are like this: So what you need to do is delete those lines so that you are just left with the form tag and the form fields. You should then be able to add in the FormTools code as per the examples. Martin |