CodePeople2
Forum Replies Created
-
Hello @alwaysenthusiast
Thank you so much for using our plugin.
You can implement the equation as follows:
(function(){
let result = IF(fieldname1<fieldname10,0,1);
let css = IF(result == 1, {'font-weight': 'bold', 'color': 'black', 'background-color': 'lightcoral'}, {'font-weight': 'normal', 'background-color': 'lightgreen'});
getField(fieldname46|n).jQueryRef().find('input').css(css);
return result;
})()Another alternative would be to enter the style definition below through the “Customize Form Design” attribute in the “Form Settings > Advanced Settings” tab:
.outcome-one {
font-weight: bold !important;
color: black !important;
background-color: lightcoral !important;
}
.outcome-zero {
font-weight: normal !important;
background-color: lightgreen !important;
}And then, edit the equation as follows:
(function(){
let result = IF(fieldname1<fieldname10,0,1);
let field = getField(fieldname46|n).jQueryRef().find('input');
if(result == 1) {
field.removeClass('outcome-zero').addClass('outcome-one');
} else {
field.removeClass('outcome-one').addClass('outcome-zero');
}
return result;
})()Best regards.
Forum: Plugins
In reply to: [Loading Page with Loading Screen] StylingHello @redmarwordpress
Thank you very much for using our plugin. You need only to enter the styles definition below through the “Appearance > Customize > Additional CSS” menu option:
.lp-screen{background-size:cover !important;}
.lp-logo-wrapper{position:absolute !important;left:0 !important;bottom:0 !important;transform:none !important;top:auto !important;}Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Export and ImportHello @dhevilz
Thank you so much for using our plugin. The “export/import” forms is a commercial feature distributed with the Professional, Developer, and Platinum plugin versions.
Learn more about the export/import feature by reading the following section in the plugin documentation:
https://cff.dwbooster.com/documentation#import-export-form
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Plugin version & JavascriptHi! We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.
For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.
Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.
Thank you.
Forum: Plugins
In reply to: [Calculated Fields Form] Cache problemHello @klingbeil
Thank you very much for sharing your solution. It will help other users with similar WP Rocket settings.
Best regards.
Forum: Reviews
In reply to: [Corner Ad] Must Have!Hello @pyupi
Thank you so much for your thoughtful review! I truly appreciate your kind words.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible to calculate with ‘choice texts?’Hello @svd89
You want to access the choices texts, not the choices values, so, the code would be:
(function(){
if(fieldname104|v == 'A1 Autotransporter') return PREC(250,2);
if(fieldname104|v == 'A2 Autotransporter (luchtgeveerd)') return PREC(250,2);
if(fieldname104|v == 'B1 Bagagewagen') return PREC(100,2);
})()Please pay attention to the |v modifier, and the use of single quotes (
')Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible to calculate with ‘choice texts?’Hello @svd89
Yes, of course, you can use conditional statements in the equation.
You can insert a calculated field in the form and enter the equation:
(function(){
if(fieldname1|r == 'A1') return PREC(100,2);
if(fieldname1|r == 'A2') return PREC(200,2);
})()Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Problem with CFF user emailHello @lohansafe
Thank you very much for using our plugin. The email copy to user is a commercial feature and your website has installed the free plugin distribution, for this reason the section corresponding to email copy to users is disabled in your form settings.
Please note we are not allowed to support any customers in these forums.
For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.
Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.
Thank you.
Hello @mpmarinov
If you want the browser and not the iframe section to navigate to another page, you must use the
_topas the target.For example, if you have a link the structure would be
<a href="https://www.yourwebsite.com/page-b" target="_top">Click Here</a>Or if you are navigating from Javascript:
window.parent.location.href="https://www.yourwebsite.com/page-b";Best regards.
Forum: Reviews
In reply to: [Calculated Fields Form] Works greatForum: Plugins
In reply to: [Calculated Fields Form] Cache problemHello @klingbeil
Please I recommend you to ask WP Rocket how to exclude URLs with cff-form parameter.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Cache problemHello @klingbeil
You can follow the steps described below. However, for additional questions about WP Rocket, you should contact the “WP Rocket” support team:
To configure WP Rocket to exclude URLs with the
cff-formparameter from being cached, you can follow these steps:- Access WP Rocket Settings:
- Go to your WordPress dashboard.
- Navigate to Settings > WP Rocket.
- Add Exclusion Rule:
- In the WP Rocket settings, go to the Advanced Rules tab.
- Find the Never Cache URLs section.
- Add the following rule to exclude URLs with the
cff-formparameter:*cff-form* - This wildcard rule will ensure that any URL containing
cff-formwill not be cached.
- Save Changes:
- Scroll down and click Save Changes to apply the new settings.
This should effectively exclude any URLs with the
cff-formparameter from being cached by WP RocketBest regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Cache problemHello @klingbeil
Your metrics now are fine:

If you want to pass the template via URL the correct parameter structure would be:
https://www.xxx.com/tarih-hesaplama/?cff-form=34&template=cp_cff_13Note template is a parameter, and you must pass the template identifier, you can find it from the “Form Settings” tab when you navigate through the different templates:

In response to the “WP Rocket” issue, please exclude URLs with the
cff-formparameter from the “WP Rocket” plugin processing.Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Cache problemHello @klingbeil
Please note that you can check the metrics directly on the form by visiting its URL:
https://www.pexpe.com/tarih-hesaplama/?cff-form=34
Best regards.
- Access WP Rocket Settings: