• Resolved moooke

    (@moooke)


    I want the calculation to be done after pressing the button, how is it possible?

    I want to change the style of the checkbox, please tell me the selector of the checkbox

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @moooke

    Please, follow the steps below:

    1. Untick the checkbox: “Eval dynamically the equations associated with the calculated fields” in the “Form Settings” tab (https://cff.dwbooster.com/images/documentation/form-settings-tab.png)

    2. Insert a button field, and select the “Calculate” option as its type.

    In the HTML there are controls whose appearance are not very customizable, like radio buttons and checkboxes. In this case, the alternative would be to hide the controls at all and load images in their places. For example, try entering the style definition below through the “Customize Form Design” attribute in the “Form Settings” tab:

    
    #fbuilder .cff-checkbox-field input{display:none !important;}
    #fbuilder .cff-checkbox-field .dfield label span{padding-left:40px; display:inline-block; background: url("https://icons.iconarchive.com/icons/double-j-design/origami-colored-pencil/128/yellow-ok-icon.png");background-size:25px; background-repeat:no-repeat;}
    #fbuilder .cff-checkbox-field .dfield label input:checked+span{background: url("https://icons.iconarchive.com/icons/double-j-design/origami-colored-pencil/128/blue-ok-icon.png");background-size:25px; background-repeat:no-repeat;}
    

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] Calculate later by pressing the button’ is closed to new replies.