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.
I've enable the inline_msg module, but I can't tell if it's working -- validation failure messages on webforms seem to be displaying in exactly the same place as before. Where should they be displayed?
Comment | File | Size | Author |
---|---|---|---|
#10 | patch.diff | 4.26 KB | kenorb |
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedHmm, can you try to clear your cache?
Comment #2
escoles CreditAttribution: escoles commentedI assume you mean the Drupal cache -- tried that a number of times already. Doesn't appear to make a difference -- the messages show up in the same place, regardless. .
Comment #3
escoles CreditAttribution: escoles commentedAlso, just in general, what should this module do? It says it's about moving the form validation messages -- but is that all it's about? It's extracting those from the system messages and making them part of the node output?
Comment #4
kenorb CreditAttribution: kenorb commentedBasically this module moving drupal validation messages (via jQuery) from the top to specified form element.
Check if you have 'Activate message rules.' enabled to enable this feature.
It should work, but I'll test it again.
Comment #5
escoles CreditAttribution: escoles commentedTHAT was interesting! I just tested by enabling the 'Activate Message Rules' setting, and the validation messages simply - went away.
So I guess that means it's working.
So, answer to my question seems to be: If no change noted, go to Drupal Tweaks >> Msgs and check 'Activate message rules.'
Turned that off for now 'cuz i need my validation messages; I seem to recall other messages about the validation error msgs disappearing, so will go look for those.
Comment #6
escoles CreditAttribution: escoles commentedComment #7
kenorb CreditAttribution: kenorb commentedIf messages went away, it doesn't work correctly. It should show the same messages above specified form elements (those with red boxes). I'll test it today on my environment.
Comment #8
escoles CreditAttribution: escoles commentedI haven't had time to look into it, but my thinking was that it's probably a theme issue on my end. I expected you to find it working in your test environment.
Comment #9
kenorb CreditAttribution: kenorb commentedInitially I tested it, but it doesn't work as it should. Maybe because of some custom theme as well. I'll check that how it can be improved.
Comment #10
kenorb CreditAttribution: kenorb commentedhttp://drupal.org/cvs?commit=393732
Comment #11
kenorb CreditAttribution: kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.