I’ve been doing some searching on how to sanitize form field input. One interesting tutorial is at the following page:
PHP Tutorial: How to Sanitize Form Data
If this type of function could be called to strip out the hyphen from the barcode lookup field when the form posts, that should solve the problem I have.
I do not know how to create a php function do to this, but I was hoping there is some php code snippet that I can copy and paste into the Weblibrarian plugin files that would could implement this. (Perhaps there maybe some javascript functions that could also do this.)
Any thoughts?
Best regards,
Rick