Text Field not accepting spaces

By: Lisa Baird | Asked: 05/21/2024
ForumsCategory: General questionsText Field not accepting spaces
Lisa Baird asked 6 months ago
Hi everyone,   This website has been up a while and I went to test the form after fixing an issue with the emailer WP SMTP and I noticed the text field doesn't accept spaces.  Here's the link: https://oakandinktitle.com/contact/   I'm out of ideas...
3 Answers
Rob LeVineRob LeVine answered 6 months ago
Using the debugger tools, I disabled Javascript for that page and I was able to enter spaces for the "Your Full Name" and Message fields. So it's some Javascript that either you or your theme have added somewhere. You can start disabling some suspects and refreshing the page to find the culprit.
Rob LeVineRob LeVine answered 6 months ago
For "fun" I tried to hunt down the culprit, again using the debugger tools. Honestly, I'm not even sure what to do with this info, however, if I removed the listener from the Your Name field seen in the screenshot, the problem goes away. The problem is that you can't just decide to not include the jQuery library.
Attachments
Lisa Baird answered 6 months ago
Thanks for looking, I will have to reach out to my theme support.  If I change themes, the problem is resolved.  Thanks!  
Rob LeVineRob LeVine replied 6 months ago

Another solution is to only market your site to people with one name such as Cher and Madonna. No spaces.

Lisa Baird replied 6 months ago

Lol, I wish I could get Cher and Madonna on my websites!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right