Is it possible to disable compact forms on specific pages?
I'm running into an issue Compact Forms with a webform block (#webform-client-form-1002). I'd like the block to use the compact form module, but I don't want the webform node page to use the module. Unfortunately, both forms have the same CSS ID.
Thanks!
Comments
Comment #1
grasmash commentedFound a solution.
I overwrote the Drupal.behaviors.compactForms function on specific pages using JS Injector module
I added js:
and specified that it be injected on on "node/1002*"
Note: I had to uncheck "Preprocess js" so that this overwrite occurred after compact forms was called.