• Resolved fastfasterfastest

    (@fastfasterfastest)


    When using the Contact page template, and if one elects NOT to use Virtue’s built-in contact form, it would be good if the Contact page template did not emit the script tags that, 1- references jquery validation and, 2- calls .validate on the then non-existent contactForm.
    I.e., surround the emission of the script tags with a test similar to what is done on line 151-152.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Fare, I assume this is if your using the map yes?

    Kadence Themes

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    No, regardless whether one is using a map or not.

    When using Virtue’s page template “Contact” and one elects not to use your contact form in that page template, then there is no need for you to pull in jquery validate. Nor call .validate on a then (hopefully) non-existent element with id contactForm.

    Yes, I was just saying map because if you weren’t using the form or the map then there is no reason to use the contact page template and you should just use the fullwidth page template.

    Kadence Themes

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    OK.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Contact page template – always emits jquery validation’ is closed to new replies.