Contact Form 7 expiration date and time
-
var d = new Date();
var time = d.getHours() + “:” + d.getMinutes() + “:” + d.getSeconds();
if(time > 21 && time < 9 )
$(‘.wpcf7-submit’).prop(‘disabled’, true);
else {
$(‘.wpcf7-submit’).prop(‘disabled’, false);
}I have this code but where should i place it. The above code is for time period functionality.
The page I need help with: [log in to see the link]
- The topic ‘Contact Form 7 expiration date and time’ is closed to new replies.