
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 09:53 AM
Hi all,
I've created a new section on the Application form for 'Cloud Service'. If the 'Type' is selected as Cloud Service, the new tab 'Cloud Service' should appear:
I would like to achieve this with a UI Policy but I can't get it to work:
Any ideas, greatly appreciated 🙂
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 10:08 AM - edited 10-11-2022 10:08 AM
in your script, try 'cloud_service' (lower case)
sectionName | String | The section name is lower case with an underscore replacing the first space in the name, and with the remaining spaces being removed, for example "Section Four is Here" becomes "section_fourishere". Other non-alphanumeric characters, such as ampersand (&), are removed. Section names can be found by using the getSectionNames() method. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 10:19 AM
Hello Tracy,
Can you try with below code
function onCondition() {
var sections=g_form.getSectionNames();
g_form.setSectionDisplay(sections[0],false); //you can use 1/2/3 instead of 0 depending upon the position of your Cloud Service section
}
Please Hit like, Helpful or Correct depending on the impact of the response