livesearch field id has changed
Jamroom Developers
Hi Jamroom Team! I hope you are all safe and well.
I am looking at some custom modules which use live search fields, they are no longer working properly.
A live_search field no longer uses the field name in the id, it's an md5 hash of the form token instead.
I have javascript listeners which use that id to listen for changes to the livesearch_value hidden field. The js is added to the form page javascript_ready_function.
In the form view function, how do I get the field's id or the form token to use in the js?
Thanks
updated by @ultrajam: 09/15/20 12:48:35AM