on_edit_form_keyup

on_edit_form_keyup(item, event)

domain: client

language: javascript

class Task class

Description

The on_edit_form_keyup event is triggered when the keyup event occurs for the edit_form of the item.

The item parameter is the item that triggered the event.

The event is JQuery event object.

Example for CTR+Enter:

function on_edit_form_keyup(item, event) {
    if (event.keyCode === 13 && event.ctrlKey === true){
        item.edit_form.find("#ok-btn").focus();
        item.apply_record();
    }
}

See also

Forms

create_edit_form