- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 05:21 AM - edited ‎02-22-2024 05:23 AM
The main form includes a reference type variable "user_submitted_software" that references to the software table "u_software".
If a user selects any software from the "user_submitted_software" variable list, it should then verify whether, on that particular software record in the "u_software" table, another checkbox field named "u_additional_justification" is set to true. If it is set to true, then another variable I created should be displayed on the form, named "additional_justification_requirements". If false, the form remains unchanged.
Please note that the "user_submitted_software" variable is empty by default on the form, and the "additional_justification_requirements" variable should be hidden by default(at moment is not). It should only become visible if the software selected in the "user_submitted_software" variable has the "u_additional_justification" checkbox set to true in the backend on the "u_software" table.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 07:52 AM - edited ‎02-22-2024 07:53 AM
@Anirudh Pathak Hi, I got it working by only using a catalog client script, thanks for your help anyway, here is what I did:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 06:42 AM
Hi @cicgordy ,
can you share the exact script you wrote?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 06:51 AM
There you go:
- Script include
- Catalog client script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 06:58 AM
Hi @cicgordy ,
Seems like there is an error in your script include. Why you have removed the auto generated code from your script include?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 07:01 AM
@Anirudh Pathak , What do you mean by auto generated code? I haven't removed anything just copied your script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2024 07:06 AM - edited ‎02-22-2024 07:06 AM
Hi @cicgordy ,
when you create a new script include and check client callable it generates this code -