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



Form Tools
Getting an error - We were unable to locate a field, but it is not a dropdown, checkb - 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: Getting an error - We were unable to locate a field, but it is not a dropdown, checkb (/showthread.php?tid=2238)



Getting an error - We were unable to locate a field, but it is not a dropdown, checkb - alrioart - Oct 19th, 2012

I'm getting this error when trying to use smart fill to populate the options list.

We were unable to locate a field, but it is not a dropdown, checkbox or radio group.

The field is there. I'm typing in the correct name. It *is* a select box dropdown.

I'm trying to populate this data (to start) :
CCExpMonth
Form URL: https://gawp.org/securebids.php

and the section of that form looks like this:

<select name="CCExpMonth" size="1" class="selectbox salary" style="width:100px;">
<option value="" >--Select--</option>
<option value="01" <?php if (@$fields["CCExpMonth"] == "01") echo "selected"; ?>>01 - January</option>
<option value="02" <?php if (@$fields["CCExpMonth"] == "02") echo "selected"; ?>>02 - February</option>
<option value="03" <?php if (@$fields["CCExpMonth"] == "03") echo "selected"; ?>>03 - March</option>
<option value="04" <?php if (@$fields["CCExpMonth"] == "04") echo "selected"; ?>>04 - April</option>
<option value="05" <?php if (@$fields["CCExpMonth"] == "05") echo "selected"; ?>>05 - May</option>
<option value="06" <?php if (@$fields["CCExpMonth"] == "06") echo "selected"; ?>>06 - June</option>
<option value="07" <?php if (@$fields["CCExpMonth"] == "07") echo "selected"; ?>>07 - July</option>
<option value="08" <?php if (@$fields["CCExpMonth"] == "08") echo "selected"; ?>>08 - August</option>
<option value="09" <?php if (@$fields["CCExpMonth"] == "09") echo "selected"; ?>>09 - September</option>
<option value="10" <?php if (@$fields["CCExpMonth"] == "10") echo "selected"; ?>>10 - October</option>
<option value="11" <?php if (@$fields["CCExpMonth"] == "11") echo "selected"; ?>>11 - November</option>
<option value="12" <?php if (@$fields["CCExpMonth"] == "12") echo "selected"; ?>>12 - December</option>
</select>


Can you help?
Using 2.2.0
Other forms are working on on the same server.

Terry


RE: Getting an error - We were unable to locate a field, but it is not a dropdown, checkb - alrioart - Oct 20th, 2012

I updated to 2.2.5 today and still have this same problem. :/