Ignorefield on Pageload? | WordPress.org

[ad_1]

I’m trying to get the plugin to ignore several fields until the user clicks a button that activates them.

Currently, I have the following code to hide several fields:

for (let i = 0; i < 6; i++) {
IGNOREFIELD(i+6);
};

This code is in the very first field on my form. However, when I load the preview of the form, the fields I want ignored first blink into existence and only then disappear. Is there a way to force them to not be appear on page load in the first place?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer