View Full Version : Some Sencha Touch Form Questions

8 Nov 2011, 6:59 AM
I have been looking everywhere and trying everything but could not figure out the answers to the followings:

1. For the form text field, there is a 'X' clear button. How can I hide/remove it permanently?

2. For the form text field, what is the event handler for tapping on the field?

Thanks in advance!

8 Nov 2011, 7:36 AM
Hi wensington.
To reply to your question:

1. You can set to false the "useClearIcon" property on your field.

2. You can do better adding a "focus" listener:

listeners: {
focus: function(){
alert('Your field got the focus');

Hope this helps.