Home › Forums › Jquery Validation for Contact Form 7 › Move script to footer
- This topic has 4 replies, 2 voices, and was last updated 3 years, 6 months ago by Dinesh.
-
AuthorPosts
-
October 1, 2020 at 2:23 pm #388460CeliaGuest
How can I move the script to the footer as the plugin add it just before any tag,
Many thanks
CeliaOctober 1, 2020 at 4:24 pm #388475DineshKeymasterHi Celia,
By default our plugin embeds the script in footer. Only stylesheet is kept in header.
Thanks
October 9, 2020 at 2:23 pm #389439CeliaGuestI have an inline script at the top in my header, apart form the other js.
<script>
jvcf7p_optionValues = {“jvcf7p_show_label_error”:”errorMsgshow”,”jvcf7p_invalid_field_design”:”theme_3″,”jvcf7p_hide_contact_form_7_validation_error”:”yes”,”jvcf7p_msg_required”:”This field is required.”,”jvcf7p_msg_email”:”Please enter a valid email address.”,”jvcf7p_msg_url”:”Please enter a valid URL.”,”jvcf7p_msg_date”:”Please enter a valid date.”,”jvcf7p_msg_dateISO”:”Please enter a valid date (ISO).”,”jvcf7p_msg_number”:”Please enter a valid number.”,”jvcf7p_msg_digits”:”Please enter only digits.”,”jvcf7p_msg_alpha_numeric”:”Letters, numbers, and underscores only.”,”jvcf7p_msg_letters_only”:”Letters only please.”,”jvcf7p_msg_letters_space”:”Letters and space only.”,”jvcf7p_msg_creditcard”:”Please enter a valid credit card number.”,”jvcf7p_msg_phoneUS”:”Please specify a valid phone number”,”jvcf7p_msg_equalTo”:”Please enter the same value again.”,”jvcf7p_msg_extension”:”Please enter a file with a valid extension.”,”jvcf7p_msg_require_from_group”:”Please fill at least {0} of these fields.”,”jvcf7p_msg_maxlength”:”Please enter no more than {0} characters.”,”jvcf7p_msg_minlength”:”Please enter at least {0} characters.”,”jvcf7p_msg_rangelength”:”Please enter a value between {0} and {1} characters long.”,”jvcf7p_msg_range”:”Please enter a value between {0} and {1}.”,”jvcf7p_msg_max”:”Please enter a value less than or equal to {0}.”,”jvcf7p_msg_min”:”Please enter a value greater than or equal to {0}.”,”jvcf7p_msg_iban”:”Please specify a valid IBAN.”,”jvcf7p_msg_bic”:”Please specify a valid BIC code.”,”jvcf7p_msg_custom_code”:”Please enter valid code.”,”jvcf7p_msg_check_username”:”Username doesn’t exists.”,”jvcf7p_msg_email_verification”:”Email verification code doesn’t match”,”jvcf7p_verify_code_field_placeholder”:”Verification Code”,”jvcf7p_email_verify_subject”:”Your Verification Code”,”jvcf7p_email_verify_body”:”Hi, \r\n\r\nYour Verification Code is [CODE] . \r\n\r\nPlease keep the code in Verification Code input box to verify.\r\n\r\nThanks”,”jvcf7p_msg_email_verify”:”Verification Code didn’t matched.”};
jvcf7p_invalid_field_design = “theme_3”;
jvcf7p_show_label_error = “errorMsgshow”;
jvcf7p_ajax_url = “http://4comlive/wp-admin/admin-ajax.php?action=jvcf7p_ajax_validation”;
</script>October 9, 2020 at 5:24 pm #389472DineshKeymasterHi Celia,
We are unable to send that to footer for now. I will revise this section and send update in next update.
Thanks
October 15, 2020 at 6:50 pm #390182DineshKeymasterHi Celia,
This inline scripts has been taken care. 5.0 should fix this issue.
Thanks
-
AuthorPosts
- The topic ‘Move script to footer’ is closed to new replies.