Hello @shoaib114
I’ve responded about the modifications of DropDown fields in multiple of previous entries. Please, I need you to follow my instructions.
If you want to change the background color to only some DropDown fields in the form, assign to them a custom class name, for example: my-dropdown
Note: the class names are assigned to the fields through their attributes: “Add CSS Layout Keywords”
And then, define the new class through the “Customize Form Design” attribute in the “Form Settings” tab (https://cff.dwbooster.com/images/documentation/form-settings-tab.png). For example:
#fbuilder .my-dropdown select{background-color: #89bac7 !important;}
If you want to generate the answer into a text, for example, a paragraph, you should use an “HTML Content” field as auxiliary. This is possible with the result of the equations, but not the entry fields.
For example, insert an “HTML Content” field in the form with the text as its content, similar to:
<p>Hello <span class="field-a"></span>, you have entered the value <span class="field-b"></span>, and the result is <span class="field-c"></span></p>
Now, as part of the equation associated with the calculated field, you can populate the previous tags, as follows:
(function(){
var a = fieldname1, b = fieldname2, c = fieldname2*6;
jQuery('.field-a').html(a);
jQuery('.field-b').html(b);
jQuery('.field-c').html(c);
return c;
})()
Note: The texts, fields’ names, and the equation are hypothetical, only to describe the process.
Best regards.