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.