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
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
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.
#3
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
Subscriibe!
#5
adding 'anonymous flagging' tag to relate this to other projects regarding anonymous flagging.