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 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
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
Input Length Is Being Limited To 20 Characters - 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: Input Length Is Being Limited To 20 Characters (/showthread.php?tid=269)



Input Length Is Being Limited To 20 Characters - keith10456 - Aug 27th, 2009

For some reason the input of my fields are being limited to 20 characters.

In Form Tools Under the "Fields" tab I have the "Field Type" set to "Textbox" (and "Database field size" is set to Medium <= 256).

Under the "Database" tab I have the "Field Size" set to "Medium <= 256".

However, regardless of how much text I type in the fields... Upon receiving the results it's limited to 20.

I'm using FT v 2.0.0-beta-20090826

Below is the code from my form:

Code:
<form action="http://mysite.com/forms/process.php" method="post" enctype="multipart/form-data">
  <table class="mytblmd">
  <th colspan="2">WEB PAGE UPDATE FORM</th>
  <tr>
  <td>Your Name</td>
  <td><input type="text" name="name" size="40"></td>
</tr>
<tr>
<td>Website Username</td>
<td><input type="text" name="username" size="40"></td>
</tr>
<tr>
<td>E-mail Address</td>
<td><input type="text" name="email" size="40"></td>
</tr>
<tr>
<td>Organization Name</td>
<td><input type="text" name="org_name" size="40"></td>
</tr>
<tr>
<td>Page URL On This Site</td>
<td><input type="text" name="url" size="40"></td>
</tr>
<tr>
<td>Update Type</td>
<td><select name="type">
<option value="select">- Select One -</option>
<option value="EditPageContent">Edit Page Content</option>
<option value="ReplacePageConent">Replace Page Content</option>
<option value="AddContent">Add Content To Page</option>
<option value="Multiple">Multiple Changes</option>
<option value="Other">Other</option>
</select></td>
</tr>
<tr>
<td>Update Description</td>
<td><textarea name="descr" rows="12" cols="30"></textarea></td>
</tr>
<tr>
<td>Attachment</td>
<td><input type="file" name="attachment" size="30"></td>
</tr>
<tr>
<td colspan="2"><center><input type="submit" value="Submit"></center>
</tr>
</table>
<input type="hidden" name="form_tools_form_id" value="6" />
</form>


* Edit - I even tried using the "max length" attribute... Still no success:

Code:
<input type="text" maxlength="256" name="name" size="40">



RE: Input Length Is Being Limited To 20 Characters - keith10456 - Aug 27th, 2009

I deleted the Form and re-added it. Now it works fine.

I think this was a result of me upgrading from beta 1 to the latest...

I'm going to test my other forms and I'll post back.
After reviewing my submissions I realized that the problem couldn't have been the result of the upgraded because the same problem existed BEFORE I upgraded.

In any event, I deleted and re-added all of the forms that I had the issue with and now all is well.


RE: Input Length Is Being Limited To 20 Characters - Ugur - Dec 12th, 2009

No, it wasnt because of the upgrade. I had the same problem. Instead, I guess i put the code into site and retried to get fields automatically again and put <256charc.