Detect when text field contents change

By: Dick Wynne | Asked: 11/28/2024
ForumsCategory: How-toDetect when text field contents change
Dick Wynne asked 2 weeks ago
I'm displaying a data tree and want it to be filtered dynamically as the user types into a search field. The filtering itself works, but how can I detect when the search field contents change? I have trawled up many suggestions involving Formidable, or independent of it, and (for me anyway) none of them works. What am I missing, I wonder?
1 Answers
Rob LeVineRob LeVine answered 2 weeks ago
You'll need to use the jQuery change method for that. I also suggest you look into Datatables which will give you that feature automatically.
Dick Wynne replied 2 weeks ago

<p>Thanks Rob, I just cracked it. I did not know that the field ID format is 'field_\<key\>' !</p>

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right