Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
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 :)
Cheers
Comments
Comment #1
wwalc CreditAttribution: wwalc commentedNot a big issue, but more people may experience the same problem. Thanks for reporting.
Feel free to attach a patch ;-)
Comment #2
Bartezz CreditAttribution: Bartezz commentedWill try, to create a patch in the next year... too many deadlines now :)
Cheers
Comment #3
BerkeleyJon CreditAttribution: BerkeleyJon commentedExperiencing exactly the same problem in version 6.x-1.3-rc7
To fix the problem, in fckeditor.module, change line 499
FROM
if ($field && !preg_match("/^[a-z]+(\-[[:alnum:]]+|\\*|\-\\*)+$/i", $field))
TO
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
Comment #4
wwalc CreditAttribution: wwalc commentedComment #5
wwalc CreditAttribution: wwalc commentedThanks!
Comment #6
Bartezz CreditAttribution: Bartezz commentedThanx :)