Answer the question
In order to leave comments, you need to log in
Drupal 7, ajax on form, how to implement keyup event?
Good day!
In Drupal, by default, if you add #ajax to the form element without the event property, ajax fires after the element is unfocused (change). If I put:
'#type' => 'textfield',
'#ajax' => array(
...,
'event' => 'keyup' // | keypress и тд
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question