CodePeople2
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Icons in EditorHello @teamtacho
Thank you very much for using our plugin. Unfortunately, you have not included the screenshot. However, if you are referring to the Insert Form and Insert Variable icons, this is because your website is using the classic WordPress editor, or you are using Elementor or similar, which uses the classic WordPress editor in some modules.
If you want to hide these icons, you have two alternatives:
1) You can edit the styles in your website. Enter the following style definition into a CSS file loaded in your back-end:
a[href*="cp_calculatedfieldsf"]{display: none !important;}2) Alternatively, you can directly edit the files in the plugin by appending the previous style definition to the end of the ‘/wp-content/plugins/calculated-fields-form/css/style.css’ file.
Best regards.Forum: Plugins
In reply to: [Calculated Fields Form] Set a field value based on the logged-in userHello @darkside999
To apply a personalized discount based on the logged-in user, you will need at least the Developer edition of the plugin. Once it is installed, you have two main options:
1. Use a Data Source (DS) field to detect the user role
You can retrieve the role of the logged-in user and apply the corresponding discount directly in the form logic.
To do this, add a Hidden DS field and configure it as follows:
- Set the data source to User Information.
- Select main_role as the field value.
- Enable the option to retrieve the information from the currently logged-in user.
Once the user role is available in the form, you can use it in your calculations or conditional logic to apply the appropriate discount.
2. Use the “SERVER-SIDE Equations” add-on
Another option is to activate the SERVER-SIDE Equations add-on and create a server-side function that:
- Receives the original value as a parameter.
- Checks the role of the logged-in user in the PHP code.
- Returns the final value with the corresponding discount applied.
Pros and considerations
- DS field method: Easier to configure since the plugin automatically retrieves the user role. However, the calculation runs on the client side, meaning the logic can be inspected in the browser.
- Server-side method: Requires basic PHP knowledge (the language used by WordPress), but the calculation runs on the server, keeping the discount logic completely hidden from users.
Please note that, according to ww.wp.xz.cn policies, we are not permitted to provide support for commercial products in these forums.
For Professional or commercial version support, including pre-sales questions, please contact us directly through our website. We will be happy to assist you there and answer any questions you may have.
Commercial products are not supported in these forums, but our team will gladly help you through our official support channels.
Thank you for your understanding.
Forum: Reviews
In reply to: [Calculated Fields Form] exceptional supportForum: Plugins
In reply to: [Calculated Fields Form] Hide a field without resetting its valueHello @darkside999
If you have been satisfied with both the plugin and our support, we would be immensely grateful if you could leave us a review on the plugin ( https://ww.wp.xz.cn/support/plugin/calculated-fields-form/reviews/ ). Your feedback will help us reach more users.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Hide a field without resetting its valueHello @darkside999
Dependencies do more than simply hide or show fields. When a field is configured as dependent, it is treated as empty in calculations while disabled, and it is also excluded from the form submission.
If your goal is only to show or hide fields without disabling them, you should use a different approach. In this case, you can use the SHOWFIELD and HIDEFIELD operations.
For example, suppose the radio button field is fieldname123, and you want to hide the div field
fieldname45when the radio button is unchecked, without disabling it.- First, insert a calculated field in the form to act as an auxiliary field. Since this field is only used to control the behavior and should not appear in the form or be submitted to the server, enable the options in its settings to Hide the field from the public form, Exclude it from form submission (these are two checkboxes in the settings of the calculated fields).
- hen enter the following equation in its “Set equation” attribute:
fieldname123 ? SHOWFIELD(fieldname45|n) : HIDEFIELD(fieldname45|n);Alternatively, you can use a function-style structure (both equations are equivalent):
(function(){
if(fieldname123) SHOWFIELD(fieldname45|n);
else HIDEFIELD(fieldname45|n);
})()Please note the equation uses the fieldname45 with the |n modifier (fieldname45|n), but not the fieldname123. The plugin automatically replaces field names in the equation with their current values before evaluating it. The
|nmodifier tells the plugin that you are referring to the field name itself, not its value.The equation can be read as: if the fieldname123 value is not empty (it is ticked), show the field whose name is fieldname45, if not, then hide it.
Best regards.
Forum: Reviews
In reply to: [Search in Place] Great pluginForum: Reviews
In reply to: [Calculated Fields Form] Great pluginForum: Reviews
In reply to: [Music Store - WordPress eCommerce] Great plugin and outstanding supportForum: Plugins
In reply to: [Calculated Fields Form] Display captcha condtionalHello @wpingo
You can use the plugin operations HIDEFIELD and SHOWFIELD, for example, in your HTML Content field you can include the piece of code:
<script>
HIDEFIELD('.captcha');
</script>And then, in the calculated field where you check the validation of data, you can use:
SHOWFIELD('.captcha');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.
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] Combine fields in distance failedHello @wpingo
That’s wonderful to hear — thank you very much for confirming that everything is working as expected!
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Combine fields in distance failedHello @wpingo
Please note that the DISTANCE operation relies on the Google Maps API, so it is essential to include a valid API Key in your form settings for it to work properly.
To help us investigate this under the same conditions, could you please share:
- The direct link to the page where the form is published
- The exact values you are entering into fieldname8, fieldname9, and fieldname7
With this information, we’ll be able to replicate the scenario on our end and provide you with a precise and fast solution.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Radio Buttons separate tooltip for each choiceHello @hyzwar
Unfortunately, in the current plugin version, the instructions for users affect the fields, not the choices separately. However, you can emulate this by passing the instruction for users as part of the choice text itself.
Please follow the instructions below:
1. includes the instructions for users as part of the choices texts, likeFirst Choice <span class="cff-help-icon" data-uh="Instructions first choice"></span>Second Choice <span class="cff-help-icon" data-uh="Instructions second choice"></span>Third Choice <span class="cff-help-icon" data-uh="Instructions third choice"></span>2. Insert an “HTML Content” field in the form, tick the choice to support scripts, and enter the following piece of code as its content:
<script>
fbuilderjQuery(document).on('formReady', function(){
fbuilderjQuery('[data-uh]').each(function(){
fbuilderjQuery(this).attr('uh', fbuilderjQuery(this).attr('data-uh'));
});
});
</script>Please watch the video in action:
https://cff.dwbooster.com/resources/customer-support/2026/02/24/video.mp4Best regards.
- This reply was modified 3 months, 2 weeks ago by CodePeople2.
Forum: Plugins
In reply to: [Calculated Fields Form] Instructions for User Font-SizeForum: Reviews
In reply to: [Calculated Fields Form] Best WP calculation pluginForum: Plugins
In reply to: [Calculated Fields Form] Instructions for User Font-SizeHello @hyzwar
Please note that some styles are inherited from the theme active on your website.
If you want to increase the tooltips text sizes, you can enter the style definition below into the “Customize Form Design” attribute in the “Form Settings > Advanced Settings” tab:
.uh-tooltip{font-size:14px !important;}
Bet regards.