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.
We are trying to enable the module on the comment form that also has a TinyMCE WYSIWYG editor. The label for the text area hovers in the button array. (We are using 6.x on this project, but assuming that this effects all versions)
So is it possible to either:
a) Have a blacklist of form fields to ignore
b) Integrate with WYSIWYG to enable / disable per format
Cheers
Comments
Comment #1
Alan D. CreditAttribution: Alan D. commentedThis was trivial, so here is the patch.
Comment #2
Alan D. CreditAttribution: Alan D. commentedComment #3
Alan D. CreditAttribution: Alan D. commentedA small cross-platform error with JQuery inArray:
Comment #4
eL CreditAttribution: eL commentedcompact_forms-field-exclusion-1267244-3.patch - TESTED and working fine.
Comment #5
itaine CreditAttribution: itaine commented@sun/tomsun - Why hasn't this patch been committed? It works well. Helps to exclude Mollom's captcha field, etc.
Comment #6
Alan D. CreditAttribution: Alan D. commentedFrom #4 & #5 marking as Reviewed & tested
Comment #7
itaine CreditAttribution: itaine commented#3 is for 6.x-1.x-dev
Re-rolling for 7.x-1.x-dev.
Comment #8
Marko B CreditAttribution: Marko B commentedThis is still not in DEV version, why is this so?
Comment #9
Alan D. CreditAttribution: Alan D. commentedCritical is for something that is crashing the site badly / loss of data / security issues.
Major is for something that is really badly broken.
So bumping back down...
Comment #10
Marko B CreditAttribution: Marko B commentedIn my case it was crashing the site badly, Visually :-) as compact forms appeared over math question in captcha and that looked bad. Anyway this works fine, should be in dev at least.
Comment #11
FiNeX CreditAttribution: FiNeX commentedThe patch works fine, thanks !
Comment #12
robertstaddon CreditAttribution: robertstaddon commentedThanks for the patch! Can we somehow get it into the DEV version?
Comment #13
Sutharsan CreditAttribution: Sutharsan commentedAs first time user of this patch, I found the position of the textarea in the form not logical. It is an exception on the first input and is therefore closely related to that field. I decided to move the "Excluded Field CSS IDs" field below the "Form CSS IDs" field.
The description of the field did not inform me enough. I tried the field wrapper ID and tried the field ID. The latter worked correctly, the first did not. I changed the description of the field to better describe which IDs to enter. See screenshot.
Comment #14
druvision CreditAttribution: druvision commented#7 works. +1 for committing it.
#13 only contains one of the files so it may only be checked after #7 is installed.
Comment #15
ropic CreditAttribution: ropic commentedMy solution
form.compact-form label[for=edit-captcha-response]{
top: 2em;
}
Comment #16
nickonom CreditAttribution: nickonom commentedPatch in #13 worked just as expected. RTBC.
Comment #17
nickonom CreditAttribution: nickonom commentedPlease commit the patch as it give the module very needed functionality.