• alan1950

    (@alan1950)


    Hi, I’m fairly new to WP & JavaScript.
    I’ve created a page containing some Tablepress tables and a contact form.
    In order to validate the form (and also display certain info), I use the following “Submit” which results in “ClientRect is not defined”:
    <input type=”submit” value=”Apply” onclick=”return validateApplyClubStandardV4()” class=”wpcf7-form-control wpcf7-submit” />
    Can anyone advise please?

    I suspect that it’s a separate issue, but the code thinks (incorrectly) that there are only 8 rows of the tablepress table, this occurs when the function that reads the table is called via validateApplyClubStandardV4. If called separately it works fine.
    I use WPCoder to insert the JavaScript into the page
    Thanks for reading.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alan1950

    (@alan1950)

    further update to this problem, I just tried this on a simple straightforward form resulting in the same issue. Details are:

    WordPress 5.2.4 running Zakra theme.
    Contact form 7 Version 5.1.5

    Uncaught ReferenceRrror: ClientRect is not defined at Object.processinput at HTMLFormElement.OnSubmit

    Thread Starter alan1950

    (@alan1950)

    Post to update the tags

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ClientRect is not defined’ is closed to new replies.