So I am trying to implement a spell check for some of the input texfields on a webpage. Mostly for city names and postal codes. I have an idea of how to it's going to work and am researching some algorithms and pspell_check() functions but the question I have is:
These forms are using PHP to submit information. Is it possible to suggest word corrections for a textfield before a user submits the form? specifically without using AJAX.
My thought process is I would use a JS function to check the textfields and compare the typed word to the existing entries in the API. I just can't figure out if it's possible without Using AJAX and without reloading the page.