![]() |
New UDF - Autocompete Text Field - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Patches (https://forum.opendocman.com/forum-10.html) +--- Thread: New UDF - Autocompete Text Field (/thread-660.html) |
New UDF - Autocompete Text Field - ramoriusvt - 01-05-2014 I've added a new user defined function, the Autocompleting text field. The "autocomplete" feature will help ensure standardization in a text field to match what has previously been entered and still free form entry to add new choices. It leverages the HTML5 Datalist element, doesn't use any 'custom' javascript (such as jQuery) and I believe it will be 'backward compatible' with browsers pre-IE10, Firefox 20, etc. I also added the ability to change the display name of a text field. Lastly, I fixed a bug that happened when searching for text fields that have a space in the display name. While spaces are allowed and handled in the search gui, searching for anything on that field broke because it wasn't handled properly for the query. The files that I've modified are udf.php udf_functions.php english.php Best regards, Rob Morin Re: New UDF - Autocompete Text Field - Stephen - 01-08-2014 Thanks, I will take a look. |