Friday 11 August 2017

[WordPress][fixed] couldn’t type space in form textareas and inputs

Funny how sometimes the investigation takes more time than actual fix itself.

As an only web designer in the company I need to deal with a lot of small bugs. Most of the time is browser incompatibilities or other small mostly CSS issues. But sometimes you come across something silly. This one was one of those things where fix is very simple but the process leading up to it was interesting. Thought I’d share.

Issue: Could not type space in text area in forms in the sidebar on the page here: http://www.allon4perth.com.au
Debugging / thought process:

Thought maybe there was some kind of java script anti spam or anti hack for forms – so it wouldn’t allow you to type special characters.
Checked the forms on contact page and it worked fine – figured that it had only some issues on home page.
Went through the manual process of checking what java script files are included in home page and BOOM that was it! Found out that it was Galleriffic JS.
First updated it to the newest version of the script
Goggled galleriffic and input forms errors
Came up with a simple solution
Click here to know more about #freelance web developer melbourne

No comments:

Post a Comment