cancel
Showing results for 
Search instead for 
Did you mean: 

validation of tabs in tab strip

Former Member
0 Kudos

Dear Friends

i have 4 tabs in my tab strip, directly i cant go to second tab , if i select second tab, it should throw an error message, can any one pls give me idea on this

Thanks

Vijaya

Accepted Solutions (1)

Accepted Solutions (1)

harsha_jalakam
Active Contributor
0 Kudos

Hi,

Even hander onSelect can be made use if you want  to make any changes/vaidations/validations/clear when user switches/selects the other tabstrip

Regards,

Harsha

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Vijaya,

Check this document. Hope it might help you.

Thanks

Katrice

Former Member
0 Kudos

Create a method for event : onSelect and bind the selectedTab property of tab strip with some string type attribute.

In the action onSelect write the code for validation if its not correct then the set the current tab name into the attribute otherwise allow it to move to next one.

former_member184578
Active Contributor
0 Kudos

Hi,

Create an Action for onSelect event of Tabstrip and do the necessary validations and set the selected tab to the current tab if there are any errors else set the selectedTab to Next tab.

Regards,

Kiran