Currently messages that are showing the following messages to the user on webform visit are sending as type "status" (OK) message:

  1. You must login to view this form.
  2. You must login or register to view this form.
  3. This form has received the maximum number of entries.
  4. You may not submit another entry at this time.

This is posing a UX issue for us (in particular #1 and #2). We have a large number of users who aren't reading the message given that it looks like a success message, seeing no webform, and are then reaching out to us confused as to why they cannot see the webform. We need to draw their attention to these messages.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Zombnom created an issue. See original summary.

beckydev’s picture

Added "warning" type for #1 and #2.
Added "error" type for #3 and #4 (mimicing the other messages).

beckydev’s picture

On second thought it seems better to set the default to all messages to warning from the get-go. There is only one message I can see that would make sense to show as a non-halting message, which is "You have already submitted this form." as this shows when there is no restriction on submission count. Added the change in this patch alongside still making #3 and #4 type error and setting "You have already submitted this form" to type status.

beckydev’s picture

Status: Active » Needs review
Liam Morland’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Status: Needs review » Needs work

Thanks for the patch. In Webform 3, only critical bugs and security issues are fixed. This patch may be accepted if ported to Webform 4.