The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
FormTools 2.14 Problems - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: FormTools 2.14 Problems (/showthread.php?tid=1682)

Pages: 1 2


RE: FormTools 2.14 Problems - FriedGeek - Feb 10th, 2012

If you have an installation of formtools 2.2, you'll need to make sure you've created another view and given your new view a name for that set of fields, otherwise your newly added fields won't show up under the view you had originally created.

Also, your label tags are incorrect. The label tags should be set up to surround only the label itself and not the entire field. Ex: <label>Porto</label><input type="checkbox" name="porto" id="agencias"> And adding name=whatever[] within a label tag serves no purpose in your case.

What Ben's referring to in this thread is that with FT2.2, you can create an external form and name all of your checkbox fields with one "name=whatever[]" but you'll need to manually set up all of the options based on your checkbox field values. Use this form as an example of how you would set up your checkbox fields:

<form action="http://www.mydomain.com/ft/process.php" method="post">
<input type="hidden" name="form_tools_form_id" value="4" />
<input type="checkbox" name="cb[]" value="One">1<br>
<input type="checkbox" name="cb[]" value="Two">2<br>
<input type="checkbox" name="cb[]" value="Three">3<br>
<input type="checkbox" name="cb[]" value="Four">4<br>
<input type="checkbox" name="cb[]" value="Five">5<br>
<input type="checkbox" name="cb[]" value="Six">6
<p><input type="submit" value="Submit">
</p>
</form>

Creating a new form, this would set up a single field for the checkboxes named "cb". In order for this to work for formtools, the form setup wizard would prompt you to enter an option for each checkbox. Ex: For One, you might enter the option "1". For Two, "2" and so on. This is how it will display in the database's "cb" field for each box checked by the submitter: 1,2,3,4 etc..

The way I was trying to show you how to set up your checkbox fields was just a simple "skip-this- step" traditional way simply by treating each checkbox as a separate field no different than a text field or select field. Either way will work.

Hope this helps.


RE: FormTools 2.14 Problems - apdesign_pt - Feb 13th, 2012

It works!!!
You guys are a lifesaver!!

Friedgeek, thank you so much for your kind explanations! Turn out it more simple than I was thinking (and doing it).

Thank you so much.
Regards and kisses
Ana