Hi All.
I have dropdownlist and text field in one table cell. And I would like when dropdownlist has value "Other" the Text Field width will increase and dropdownlist width will decrease. The table cell size will keep unchangeable. If is that possible how to do that?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
The problem is solved
if(xfa.event.newText == "Other") {
txtField.presence = "visible";
this.w = "0.5in";
txtField.w = "1.8in";
txtField.x = "0.49in";
}
Views
Replies
Total Likes
Try to find the OOTB css/js applied on the textfield form [1] and you can overlay based on your requirement.
[1] /libs/granite/ui/components/coral/foundation/form/textfield/render.jsp
Views
Replies
Total Likes
Hi JaideerBrar. Thanks for replay.
I not familiar with OOTB css/js. I will appreciate if you help by code and explain what need to do.
Thanks.
Views
Replies
Total Likes
The problem is solved
if(xfa.event.newText == "Other") {
txtField.presence = "visible";
this.w = "0.5in";
txtField.w = "1.8in";
txtField.x = "0.49in";
}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies