Set min and max value of slider from calculated field

[ad_1]

Hello @graicifyd

Assuming the slider field is the fieldname1, and you want to assign the numbers 5 and 15 as its min and max, respectively, from the calculated field equation.

In this case, you can use the following piece of code as the field’s equation:

(function(){
getField('fieldname1').set_min(5);
getField('fieldname1').set_max(15);
})()

Best regards.

 

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