function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
user123.ax1086user123.ax1086 

Validate and navigate to Inactive Tab.

Hi,

 

I have a scenario where i need to use <apex:tabPanel>..

I have 4 tabs  in which navigation should be from "Tab1" to "Tab4" but shouldn't  work when directly click on Tab2 or Tab3 or Tab4... Navigation from "Tab1" to "Tab2" should happen only when all the required fields in Tab1 are not empty also need to make the remaining tabs inactive.

 

I have got a solution to validate the required fields in "Tab1" and then navigate to "Tab2".

 

But the issue now i got struck is that all the "Tabs" are appearing in the same colour. i.e all r luking like "Active Tabs" but only one "Tab" should be "Active" and remaining are "Inactive".

 

can anyone please help me....

 

Thanks