Getting user email based on selected user in another field on a form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 05:06 PM
Hello everyone!
I seem to have run into a development issue with my work, specifically with the creation of an onLoad Catalog Client Script for my form.
I currently have a dropdown field where you select the name of any user within the organization that is prepopulated with the name of the logged in user when the form loads.
I want another field within the form (user email field) to get the user email automatically when the form loads based on the user that is in the user dropdown field. I'm having issues with this.
Are there any ideas on solutions? Please see my code attached.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 06:07 PM - edited 12-12-2023 06:13 PM
That field is not coming, because that user field is not reference type instead select box filled with current logged in user via some other code , let me know if understanding is correct.
as you already using the GlideAjax for email, any issue with this email return value.
Query -> from which table the code is getting the logged-in user for select box.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution