You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is there a way to make visible ProForma form based on components selection? We're planning to add a ProForm form in JSM, we don't want to make it available for all components. There are several components in JSM, we want to make the form available for a few like 2, or 3, and for the rest of the components we want it to make invisible.
I could use a groovy script to hide but I'm unable to find the field id for Proforma. Does ProForma have any custom field id?
Thank you for your help.
Since ProForma is not a custom field (1 form can have many custom fields on it), it does not have a custom field id.
A form is attached to one or more request forms. If you want to use a form for separate components, that seems to suggest they are pretty much different types of requests. So you could consider creating separate request types for requests that are essentially different things.
Another option could be to include the conditional logic into your form itself. ProForma lets you build forms with sections that can be displayed or hidden based on the selection made in fields on your form. So, essentially, if you could incorporate your component selection in your form, you could show or hide sections of the form accordingly.
Hope this helps!
Hi @Walter Buggenhout thank you for your response.
A separate request type won't work for us. We have request type "Product" and for that, we have components "Order, Refund, Inquiry, Replacement, etc". We want to have a form for a refund. We can't have separate request types for refunds which can cause a lot of confusion for users since we have been using the same request type and components for years.
The second option would be ideal for us. However, I'm not sure how it works. We want to hide the form all the time but when a user selects the component "Refund" then the form should become visible. Is that possible? How can add conditions in ProForma? I just found the transition conditions in the setting. Do you have an idea how can I set it up?
Thank you for your help.
@Walter Buggenhout I created a field in the ProForma form and linked it with Component. Now I can see all components in that field. With help of that, I can be able to show or hide the rest of the form, however, there are two issues I'm having, first, the form is all way at the bottom, like below the description field.
The second problem is, that it is showing all the components of the JSM. I have a script that can show only Product related components in the "Product" request type and it won't display these components to another request type. But script won't work with form and form is displaying all components. Any idea how can fix these issues? Thanks