1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved Form Validation - Javascript Function not Defined but it is

Discussion in 'Web Design & Development' started by EspressoBean, May 15, 2018.

Thread Status:
Not open for further replies.
  1. EspressoBean

    EspressoBean Thread Starter

    Joined:
    Feb 29, 2016
    Messages:
    264
  2. JiminSA

    JiminSA

    Joined:
    Dec 15, 2011
    Messages:
    3,237
    You are invoking(onclick) a javascript function called submitBasic() on line 45 of your html.
    It cannot be found:(
    You have an empty slot in your head section which is maybe where it was originally
    HTML:
    <style>
    </style>
    at lines 12 and 13
    I would try taking out the onclick in line 45 and see what happens ...
     
  3. EspressoBean

    EspressoBean Thread Starter

    Joined:
    Feb 29, 2016
    Messages:
    264
    I ended up solving, thanks! I messed up my formatting and broke the script.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1210248

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice