When a given form is set as not active, it displays a message that admin users can set (under field 'Default disabled contact form message'). When the URL path corresponding to a blocked (or inactive) contact form, users will see that message and will be completely blocked out from the contact form, not being able to see it.

The issue is that when you add the contact form into a block, I believe thecorrect behavior would be to display that message to end users and block them access to the form, the same way that happens when entering the form through its URL. That isn't happening, though. The form is completely open in that condition.

Comments

mabho created an issue. See original summary.

sutharsan’s picture

Status: Needs work » Postponed (maintainer needs more info)

What do you mean with "When a given form is set as not active"? How to set a form as not active? I'm only aware of the 'Make this the default form' checkbox.

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new676 bytes

I guess, you are talking about the personal contact form and the setting on the user page.
This patch fixes it.

  • Sutharsan committed 56ff1e1 on 8.x-1.x
    Issue #2872197 by Sutharsan: Personal contact form is displayed despite...
sutharsan’s picture

Status: Needs review » Fixed
sutharsan’s picture

@mabho, Thanks for reporting. This is serious enough for a new release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.