i added custom attributes in ldap data section to user able to change their firstname when user edit their first name in edit => LDAP entry section they can leave blank their first name i want attribute to be required so they cant leave blank first name is there anyway to do that ?

my ldap attribute in data ldap is
givenName|text|textfield|First Name|64|64

Comments

johnbarclay’s picture

Category: bug » support
Priority: Critical » Normal
cgmonroe’s picture

Status: Active » Closed (fixed)

Clearing out old support requests - reopen if problem still exists in newest code (dev)

That said, the best way to require user information is to set up a profile field (or content_profile node) for the value, then map the ldap attribute to it. The profile module(s) have the mechanisms to require fields that the straight "custom attributes" don't.