Input value change jquery event

By: uaarmyforever On: 22.05.2017

I would like to trigger a function whenever user enters something in an auto-complete field of an HFE form. The structure of the auto-complete field after HFE substitution is such that it is not the value of the displayed auto-complete field that changes, but the value of an hidden input field instead line 4.

I've tried to grab the change of the hidden field but apparently jQuery doesn't support it: The solution proposed in stackoverflow's link above works well if I only have one field to survey.

input value change jquery event

Anyway, I don't like the idea of constantly querying the field to detect changes. One possibility would be to change code in the htmlformentry module to fire some sort of event preferably the typical jquery one when the field changes.

Hopefully the autocomplete widget we're using supports this For some reason, the ".

input value change jquery event

However, it doesn't fire when a valid value is entered. Adding support of the '.

input value change jquery event

Go ahead and create a ticket in the JIRA project for HTML Form Entry and put the PR on that ticket. HTML - Trigger the ".

How to use '.change()' jQuery event with auto-complete fields in HTML Form Entry - Development - OpenMRS Talk

How to use '. How to use the. I've added the following line textField. Pull requests are welcome!

Rating 4,8 stars - 407 reviews
inserted by FC2 system