ServiceDesk Plus allows user to write a small JS script to modify form fields on form load/edit. The functions to retrieve information are quite limited, and do not provide the ability to retrieve user defined attributes using the $CS.getValue() function, beyond the basics such as email and mobile number.
An example use case for this, would be populating a field using information taken from Active Directory, and stored in the requester's attributes.