CVS edit link for jdwfly

At my workplace we host a very large (>1300 attendees) conference. We used drupal for the registrations and we were very pleased. In the course of all the work we found that sometimes we needed to make certain fields not required for certain roles. We found that our secretaries were simply inputting 'a' into these fields because they were required. Now that the conference is over we have decided to implement a solution. Working off of some examples of modules that modify fields (form_markup) I was able to create a module called required_by_role.

This allows a certain role to be exempt from the required fields. So for some users the fields are required and for some users the fields are not required. This exemption is set per field.

This module has different functionality than the field_permissions which comes with CCK. That module completely removes the field based on a permission. This module that I am proposing will allow the field to exist on the form, but for certain roles will make it not required.

CommentFileSizeAuthor
#1 cck_required_by_role.zip2.36 KBjdwfly

Comments

jdwfly’s picture

StatusFileSize
new2.36 KB

Added current module

jdwfly’s picture

Status: Postponed (maintainer needs more info) » Needs review
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

avpaderno’s picture

Component: Miscellaneous » new project application
Assigned: Unassigned » avpaderno
Issue summary: View changes
Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

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