Hi,

I'm trying to use the picklist function to provide a list of options based on 
values in another ou, but I'm really unsure of how to do so.  Here is the 
situation:

I'm using a modification template for a person (ou=Person).  There is a field 
called "departmentNumber" for each person that I would like to use to display 
the corresponding ou in ou=Department (departmentnumber is the key in 
ou=Department), and when the ou is changed I would like it to change the 
department number that is visible in a helper field.  Is this possible?  Here 
is what I was trying:

<attribute id="ou">
  <display>Department Name</display>
  
<option>=php.PickList("ou=Department...",(objectclass=organizationalunit),ou,%ou%)</option>
  <onchange>autofill:departmentNumber,%departmentNumber%</onchange>
  <helper>
    <display>Department Number</display>
    <id>departmentNumber</id>
    <location>side</location>
    <value>%departmentNumber%</value>
  </helper>
</attribute>

Any help would be greatly appreciated!

I'm using version 1.1.0.5 of phpldapadmin.

Thanks,
Matt

---

Matt Searle
Analyst II, Campus Services
Computing and Communications Services
University of Guelph
Guelph, ON N1G 2W1
519-824-4120 x54112
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to