
Announcements
Hi,
I have a basic form to create Case records in the power pages/D365 portal with 3 tabs. I want to hide one of the tabs on the selection of a value of an option set.
For Say: Option set Field: Values- A, B, C
On selection of Field value B, Tab 2 should be hidden else visible.
I enabled the Auto Generated Steps setting of the Basic form,
when the user opens the page, it shows the tabs per page. We can navigate to the next tab/page by clicking the Next Button (as shown below)
Tried to achieve this by the following codes, however, it is not working
$(".tab[data-name='tab_2']").hide();
$(".tab[data-name='tab_2']").prev("h2.tab-title").hide();
Please assist.
Hi @Kristy7 ,
Basic forms might not be the best option for what you're trying to achieve. Instead, consider using advanced forms (multi-step forms). You can leverage the conditional step functionality as described here. Add a conditional step type | Microsoft Learn.
If this post helps you with your problem, please mark this answer as Accepted Solution.
If you like my response, please give it a Thumbs Up.