Hello @doutley
The issue is simple.
You have defined the following piece of code in the theme active on your WordPress:
.hide {
display: none!important;
}
And your onclick event include pieces of code similar to:
jQuery('.BagBulk').show();
But as the css rule was defined with the !important
modifier, the tag is not displayed.
The solution, without editing the CSS requires to edit the code in the button as follows:
if (jQuery(this.form).valid() == true) {
jQuery('.pre-button').hide().addClass('hide');
jQuery('.reset-button').show().removeClass('hide');
jQuery('.covwarn').show().removeClass('hide');
if (jQuery('[id*="fieldname2"]').val() == 'Pine Straw') {
jQuery('.PineStraw').show().removeClass('hide');
}
if (jQuery('[id*="fieldname16"]').val() == 'TRUE' && jQuery('[id*="fieldname17"]').val() == 'TRUE') {
jQuery('.BagBulk').show().removeClass('hide');
}
if (jQuery('[id*="fieldname16"]').val() == 'TRUE' && jQuery('[id*="fieldname17"]').val() == 'FALSE') {
jQuery('.Bulk').show().removeClass('hide');
}
if (jQuery('[id*="fieldname16"]').val() == 'FALSE' && jQuery('[id*="fieldname17"]').val() == 'TRUE') {
jQuery('.Bag').show().removeClass('hide');
}
if (jQuery('[id*="fieldname16"]').val() == 'FALSE' && jQuery('[id*="fieldname17"]').val() == 'FALSE' && jQuery('[id*="fieldname2"]').val() != 'Pine Straw') {
jQuery('.Tons').show().removeClass('hide');
}
}
You must follow the same logic (add or remove the hide
class) with the reset button.
Best regards.