Auto populate field on Catalog item is Clearing the value on Submit if Dependent Question not Chosen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 09:38 AM
Hello all,
I am currently working on a catalog item that allows the user to select an optional reference field at the top of the form. If the field is selected, other fields should auto-populate with information from this using the Auto-populate feature on each variable. The problem I'm having is that if I do not select this optional field and manually input values in the subsequent fields referencing it as a dependent question, the manually inputted values are cleared after being submitted.
Has anyone encountered this one before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 09:54 AM
Hi Daniel,
I think you've hit upon an unintended 'feature' of this recently-added auto-populate functionality. If you have the means, please report it in the HI portal. It may be a known condition, or something that can be slated for correction. I'll verify that this is still the behaviour in the Xanadu release. As a workaround, the ol' getReference or GlideAjax call onChange of the reference variable will work for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 10:06 AM
Thanks for your response. I was afraid that might be the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 10:32 AM
Actually, I'm not seeing this on a quick test in Xanadu, or Vancouver patch 9 hotfix 2a. What version are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 10:37 AM
I'm on Utah. The issue could be that I had to change the dependent field name at one point.