When creating a new appointment in the wp-admin > Appointments > Add New, there is a drop-down field under "CLIENT" labeled "User". This field is a list of wordpress usernames. I have 3 questions regarding this field.
1) Is it possible to switch this to a list of Display Names rather than Usernames? Usernames can be totally different than the person's actual name. I have my WordPress set to show first_name last_name as the Display Name, which would be easier to identify the actual person we are creating the appointment for.
2) Is it possible to restrict the drop-down list to show only a particular role? For example, we created a custom role based on the subscriber role. The role is called patient. This is the only role that will need to make appointments on our site.
3) Is it possible to auto-populate the Name, Email, Phone, Address, City fields based on what is selected from this drop-down list? It would be best to auto-populate these fields dynamically as the menu item is selected in case there are two people with the same name, we could determine which is the person we are looking for by their other information. But if it can only auto-populate after the "Save/Update" button is pressed and a manual refresh is done, then it might be a good idea to leave the drop-down list as Username since each will always be unique. It would just require an extra step before making the appointment of finding the patient's username first.
Please let me know if any of these are possible and if so how?