Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
716 views
in Technique[技术] by (71.8m points)

extjs - Enable button only when multiple textfields have value

So I have multiple Panel which have textfields in them. How can I add a listener to check if the value has been entered in the multiple textfields and enable the button or if no value, keep it disabled.

The button is in a different Panel, all the textfields are in different Panel.

I am aware of using formbind, but that only works when you are working with form type. Edit:

It's Extjs4

An idea of what the code looks like enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...