In addition to the standard "show" and "suggest" visibility settings, the guardian field has a library setting called ui.patron.edit.guardian_required_for_juv ("GUI: Juvenile account requires parent/guardian"). When this setting is set to true, a value will be required in the patron editor when the juvenile flag is active.