Provide option for personal messages to be disabled, enabled, and required

koenvw - July 6, 2009 - 13:12
Project:Forward
Version:6.x-1.9
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

This patch adds a setting to make the "personal message field" optional. Please note that this is different from "allowing" the personal message field. The default value for this setting is true, so this shouldn't affect existing installations.

This patch should also work around the problem described here.

AttachmentSize
forward_required_message.patch1.79 KB

#1

rszrama - July 10, 2009 - 22:00

+1 to this change. I was confused by the language "Allow" vs. the behavior of the form. I wonder if it would be better to make it a radios element, though, with the options:

  1. Do not allow personal messages.
  2. Allow a personal message.
  3. Require a personal message.

Then there's no confusion about the two checkboxes.

#2

rszrama - July 10, 2009 - 22:02
Title:Personal Message Field Validation Does not Respect #required» Provide option for personal messages to be disabled, enabled, and required
Category:bug report» feature request
Status:needs review» needs work

Further input... fwiw, if the field is required, there's no good reason to check in the validate handler if it's actually been filled in unless you trim spaces off the end of the message to see if actual text was included. Also, this is a feature request and needed a more descriptive title.

#3

marcrobinsone - October 29, 2009 - 03:55

Hi Guys,

I peaked at the current -dev release, but it seems that this is not going to be part of it any time soon.

Do we have any plans to incorporate this feature request for the next release?

Cheers.

#4

seanr - November 3, 2009 - 21:58

A version of this will be in the next release (later today).

#5

seanr - November 3, 2009 - 22:21
Status:needs work» fixed

#6

System Message - November 17, 2009 - 22:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.