We have an HR form that is filled out for employees when their positions, hours, pay, etc. changes. The form auto-populates information about the person filling out the form as well by performing a database lookup based on the employee's email address into our HR software to return who their supervisor is. The fields that get populated are hidden with the following CSS:
.dontshow {display: none;}
The problem we have run into is that some employees have multiple positions and therefor multiple supervisors. When this happens, the supervisor information is not filled in correctly because it wants someone to select one of the multiple values returned for those fields. Is there any way when a lookup returns more than one value for a field to have it change the CSS display value so it will show those fields so someone can select from the available values?