The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Help with form validation Reply To: Help with form validation


I did some more Google searches and came up with a solution for my text fields. I still need to work on the drop-down lists.

I was wondering if there is a way to shorten this or not? I am not using an alert for the messages. I am using “inner.HTML” to place the message in my form.

Here is the update CodePen:

You need to hit the Edit button to see the code. I think codePen changed this from the last time I used it.