Auto populate field on Catalog item is Clearing the value on Submit if Dependent Question not Chosen

Daniel Arnold
Tera Guru

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? 

DanielArnold_0-1723048666810.png

 

5 REPLIES 5

Brad Bowman
Kilo Patron
Kilo Patron

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.

Thanks for your response. I was afraid that might be the case.

Actually, I'm not seeing this on a quick test in Xanadu, or Vancouver patch 9 hotfix 2a.  What version are you using?

I'm on Utah. The issue could be that I had to change the dependent field name at one point.