Andrew Wightman
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Move to Next Step when timer reaches 0Thanks! That worked perfectly!
I have another question (different topic so not sure whether to post it here or open a new thread).
My form has 12 steps in it, and it works beautifully. I tested it and it worked fine, but im noticing sometimes it is missing responses that are inputted near the middle of the steps (Ex. It will display answers for steps 1-4 and step 12 but is missing 5-11, and just shows the shortcode for that field instead in the email. The shortcodes for the fields are all correct, I’ve double checked those. Any ideas?
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Move to Next Step when timer reaches 0Yes, when I manually click the button, it moves to the next step – multistep form tag is implemented, and functions perfectly – it moves through each step gracefully which is exactly what I was hoping for
Below is my code for the timer itself, inside the wordpress loop. The output of the timer itself functions, it counts down as intended – that aspect works flawlessly. Once the timer reaches 0, I need it to save the values entered and proceed to the next step. Currently, when the timer reaches 0, it says ““Thank you for your message. It has been sent.” and stays on the same page/step, but if the button is clicked manually, it will proceed to the next step.
<?php $mins = get_post_custom_values(‘_time_limit_mins’); ?>
<?php $secs = get_post_custom_values(‘_time_limit’); ?>
<script>
window.onload = function(){
var min = <?php echo $mins[0]; ?>;
var sec = <?php echo $secs[0]; ?>;
setInterval(function(){
document.getElementById(“timer”).innerHTML = min +” : ” + sec ;
sec–;
if(sec == 00 && min >= 1)
{
min–;
sec = 60;
}
if (min <= 0 && sec <= 0){
document.getElementsByClassName(“wpcf7-form”)[0].submit();
}},1000);
}
</script><div id=”status”>
<h2><span id=”timer”><?php echo $mins[0]; ?> : <?php echo $secs[0]; ?></span></h2>Forum: Fixing WordPress
In reply to: Homepage not displaying (including default theme)I have. I’ve also tried reinstalling WordPress entirely to no avail. Pretty stumped on this one as not even the default themes have working homepages either.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce products per row based on categoryI’ve been searching for an answer for this as well. I’m assuming it would require some form of If Statement to achieve where it would check which category you’re in to determine the number of products per row.
Forum: Plugins
In reply to: [WP Supersized] conflict with wp 3.5.2 -3. 6I’m also having this problem. At first I thought it was just an issue involving the NextGen gallery, however it doesn’t work with any of the settings. “Updating” a page or post’s settings just reverts back to “None”. The problem arises when updating to 3.6
Forum: Plugins
In reply to: [Woocommerce CSV importer] .ZIP Upload ErrorAfter asking a friend of mine who is dutch about the problem, it translates into the CSV file was not found. It appears my issue is caused by the elements in the .ZIP file being contained within a folder called “Products”