Inline form errors internet explorer


#1

I’m using a bit of javascript to have form errors appear inline (the error message is red text that appears immediately beneath the form input). I don’t have a lot of programming experience, and I got the basic script from the unbounce forums. The script works beautifully in Chrome and Firefox, but in IE, the text is the wrong color, its not under the form input, and if you mis-enter information into the form multiple times, the warnings on the page just keep building up. Why doesn’t the javascript work welll in IE? Is there a simple fix to this?

thanks,
K


#2

Hey @Kelly_Dawn! Welcome to the Unbounce Community. :slight_smile: :ub_logo:

Are you referring to the script you found here? Just a tip: to get the most visibility on this question, I’d suggest posting in that thread as well.

Hopefully we can get this figured out for you!


#3

@Kelly_Dawn I’ve made a small update to this script that should resolve the Internet Explorer issues you were seeing.

Get the latest version of the script: https://gist.github.com/noahub/6e25e67b648fb6926e8d808a89619997