I am trying to relate the actions in the API documentation (i.e. ‘blur’) with javascript events i.e. the list below, as a sample:
onblur – When a user leaves an input field
onchange – When a user changes the content of an input field
onchange – When a user selects a dropdown value
onfocus – When an input field gets focus
onselect – When input text is selected
onsubmit – When a user clicks the submit button
onreset – When a user clicks the reset button
onkeydown – When a user is pressing/holding down a key
onkeypress – When a user is pressing/holding down a key
onkeyup – When the user releases a key
onkeyup – When the user releases a key
onkeydown vs onkeyup – Both
To use a js event like ‘onblur’ do I simply write the action part of the rule as
action: onblur
It is not clear how the js actions are mapped to the Validation references i.e. how ‘blur’ is mapped to ‘onblur’.
Any explanation will be helpful.
Many thanks,
Alastair Walker