0 votes
511 views
by (860 points)
Suppose I Have 2 Tab Section Named As Contact Details & Address, What I Want Is, it Needs To Through Validation On Tab Section If I Didn't Fill Details In Contact Tab Section.

1 Answer

0 votes
by (16.3k points)
The validate function of the parent coach view is called before passing to the child coach views, you can make the tab validate function to show the tab label in red color by trapping the tab validate event handler if it not already being done by making a copy of the tab control. You can use this.context.element.querySelectorAll to get the tab label element and then set the style.
by (860 points)
this.context.element.querySelectorAll -----> Has To Be Written In Coach View, In Order To Call?? Right??
by (16.3k points)
Yes in the validate event handler check for existence of error use queryselector to get a handle on the tab label and change the style.

Related questions

0 votes
1 answer 1.0k views
0 votes
0 answers 131 views
0 votes
0 answers 175 views
0 votes
0 answers 128 views
0 votes
0 answers 969 views

626 questions

495 answers

95 comments

2.2k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...