0 votes
221 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.1k 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.1k 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 685 views
0 votes
0 answers 37 views
0 votes
0 answers 69 views
0 votes
1 answer 146 views
asked Jul 11, 2017 by ashokch (320 points)
0 votes
3 answers 877 views
0 votes
1 answer 265 views

591 questions

485 answers

90 comments

1.8k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
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
...