Auto-capitalize fields when opening PDF
We just converted to a digital version of our sales sheets for my company via PDF. I have each field vaildate with the "event.value = event.value.toString().toUpperCase() ;" script, which would be fine except the sales people are using Chromebooks where that function doesn't work, or really any JS. Basically they fill out the forms, save to a cloud, where we in the office can open them on our PCs.
The sales people we have are notorius for using lower-case for everything, proper names, etc. So our solution was to just have all caps on the forms. Problem is that Chromebooks do not have a caps lock, so we had to program the PDFs to do it. Unfortuately, as I mentioned, the books do not work with the validate function.
When we open them on our PCs with the lowercase fields, the fields will validate and the script will work to make the fields uppercase again, but ONLY if we modify the field. If we don't make changes, even tabbing across, nothing will validate and change.
Is there a simple way to make each field automatically change to uppercase when the documents are opened on our PCs if they were entered in as lowercase with the Chromebooks?
I was thinking a document-level script but I am not too sure how to go about it.
tl;dr
Need a script to automatically make certain field's values uppercase when opening the PDF.
Thank you! I hope what I am asking makes sense. I am new to JS with PDFs.