Comment 1 for bug 1630767

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

EG 3.3.4

Hello, I'm trying to figure out the best way to allow us to hide certain fields from patron registration that are currently hard coded as "Universally required", such as "Internet Access Level", without just manually editing the registration form.

It seems as if only true bool values for the *.show, *.suggest, *.required org unit settings are considered. So it isn't possible to set those to false to hide something.

The code that checks those settings could be set to consider false values also, and set the visibility to 0 when a negative is detected, so that the defaults are not considered in those cases.

A second option would be to add a new set of *.hide org unit settings, that would allow overriding the built in defaults. This would probably be the simplest.

Another option would be if all the logic for "Universally required" was stripped out of the registration form js files, and all the configuration was held in the org unit settings.

Josh