Required fields on anonymous flagging form -- can be unrequired?

Gregory Go - March 4, 2009 - 03:10
Project:Flag content
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Issue tags:anonymous flagging
Description

Hi all,

I'd like to make it as easy as possible for anon flaggers, and would like to make name and email not required fields.

Can you guys think of any reason why all 3 fields (name, email, reason) are required on the flagging form? If not, I'll try rolling a patch that allows admins to control whether the fields are required or optional.

Thanks in advance.
Greg

#1

kbahey - March 4, 2009 - 19:41
Version:5.x-2.9» 5.x-2.x-dev

Hey Greg

Go ahead and roll a later in the week (I am at DrupalCon).

As long as it is backwards compatible, I am cool with it.

#2

Gregory Go - March 18, 2009 - 01:34
Status:active» needs review

Here's a patch to make the flagging fields (name, email, reason) required/optional by admins. This patch adds a fieldset to the flag_content settings page with 3 checkboxes to set the fields for name, email, and reason to required/optional. Sets default to all fields optional, so users don't have to enter anything to flag content.

This was rolled against flag_content 5.x-2.9. I don't have a 6.x version installed anywhere, so hopefully someone can port it to D6.

AttachmentSize
flag_content.module-patch-90098-non-required-fields.txt 2.33 KB

#3

kbahey - March 18, 2009 - 15:39
Version:5.x-2.x-dev» 6.x-1.x-dev
Status:needs review» patch (to be ported)

This is committed, and should be in the 5.x-2.x-dev around 9 pm Eastern tonight.

Can someone please port it to 6.x?

#4

dropchew - April 10, 2009 - 06:13

Subscriibe!

#5

chilledoutbeardedman - June 29, 2009 - 16:13

adding 'anonymous flagging' tag to relate this to other projects regarding anonymous flagging.

 
 

Drupal is a registered trademark of Dries Buytaert.