I have a textarea field in a webform with the name "question | remarks", the automatically assigned field ID is "edit-submitted-question--remark".
When I want to exlude this field from using FCK I get an error: Invalid field specified.

An easy workaround is to go into webform -> components -> edit the textarea and manually change the field ID.
But I thought I'd mention it here anyway :)



wwalc’s picture

Not a big issue, but more people may experience the same problem. Thanks for reporting.

Feel free to attach a patch ;-)

Bartezz’s picture

Will try, to create a patch in the next year... too many deadlines now :)


BerkeleyJon’s picture

Experiencing exactly the same problem in version 6.x-1.3-rc7

To fix the problem, in fckeditor.module, change line 499
if ($field && !preg_match("/^[a-z]+(\-[[:alnum:]]+|\\*|\-\\*)+$/i", $field))
if ($field && !preg_match("/^[a-z]+(\-+[[:alnum:]]+|\\*|\-\\*)+$/i", $field)) {

You probably want to make the same change to the same regular expression on lines 430, 438, and 491

wwalc’s picture

Status: Active » Needs review
wwalc’s picture

Status: Needs review » Fixed


Bartezz’s picture

Thanx :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.