:: Documentation >>

control edit events

Editable controls (input, combo) trigger editing and validation events -

null

Syntax

obj.onControlEditStarting = function(text){...};
obj.onControlEditStarted = function(text){...};
obj.onControlValidating = function(text){...};
obj.onControlValidated = function(text){...};
obj.onControlEditEnding = function(text){...};
obj.onControlEditEnded = function(text){...};

Parameters

text (string) - the text being edited

Example

obj.onControlValidated = function(text){
    alert(text);
}

Remarks

If you cancel (return non-zero value) onControlValidating event - the focus wil stay in the control and editing will continue.

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5