The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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:

<?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");

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