Unit of measurement in the input field

[ad_1]

Hello @spacemakerman

You cannot use “::before” or “::after” with input tags.

To hide the tooltip, please enter the style definition below through the “Customize Form Design” attribute in the “Form Settings” tab:

#fbuilder .cff-slider-tooltip{display: none !important;}

Assuming the slider field is the fieldname123, to add the suffix to the field value, please insert an “HTML Content” field in the form and enter the following piece of code as its content:

var slider_field_name="fieldname123";
fbuilderjQuery(document).on('change', '[id*="'+slider_field_name+'_"]', function(){
    let f = getField(slider_field_name),
        e = f.jQueryRef().find('[type="text"]'),
        v = f.val();
    
    e.val(v+'m²');
});

You should replace the fieldname123 field with the correct one in the previous piece of code.

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