How to auto populate common variables from previously submitted catalog item to current catalog form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 11:35 AM
Hi All,
I have below requirement.
I have two catalog items 1) Design form, 2) Implementation form. We have some common variables in both the catalog items like Var1, Var2, Var3 and Var4. I want to auto populate these common variables from "Design form" to "Implementation form" based on SL Number.
There is a common variable set in both the items which contains below 3 variables.
1.SL Number -- it is like a auto number Ex: SL-0001 once form is submitted and again if we open the form the SL Number will be SL-0002 etc.
2. Show previous SL Number list -- It is a check box, if it is true then the below variable(Previous SL Number) will show and SL Number will hide
3. Previous SL Number -- It is a drop down variable will show all the SL Numbers submitted previously.
When the user selects Previous SL Number as SL-0001 in the Implementation form need to auto populate the common variable information from the Design form which is submitted under SL Number SL-0001.
Please help me to achieve this requirement.
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 11:46 AM
Use Onchange Catalog client script on SL number field. Fetch the values using GlideAjax and set the values on form.