codepeople
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Checked items and ammountsHi! 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 and the DS fields are distributed with the Developer and Platinum plugin distributions.
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 @martymcleod
The issue was caused by the 5.2.1 update where the submit button was active by default.
Best regards.
Forum: Plugins
In reply to: [Appointment Hour Booking - Booking Calendar] Fatal error after PHP UpdateHi,
You are using an outdated commercial version of the plugin. Please update to the latest version to keep with compatible with PHP 8.x
If you need information about the update process for commercial versions, we’d like to help more 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. 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 @martymcleod
Thank you very much for using our plugin. What plugin version are you using? If you are using the free plugin distribution, the “no” option is the default one for the “Display submit button?” attribute in the form settings. If you are using any of the commercial versions, you can deactivate the submit button from the existing forms at once through the default settings area in the plugin settings page below the forms list:

Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible for the height to be automatic?Hello @klingbeil
The method I recommended previously is valid if both the page where you insert the iframe tag, and the URL you load into the iframe belong to the same domain. Otherwise, the browser’s security rules will prevent the page code can access the DOM of the iframe content, and you will get an error similar to the following one in the browser’s console:
Uncaught DOMException: Failed to read a named property ‘document’ from ‘Window’: Blocked a frame with origin “ABC” from accessing a cross-origin frame.
at HTMLIFrameElement.onload (XYZ)If the page and the iframe content belong to different domains, you must include the iframe tag and a script block on the page. The script block must implement an event listener for the message event that will adjust the iframe height when it receives the height from the form. Also, the form must send a “postMessage” to the parent with the form height.
If you need a custom coding service to implement both the code to include in the pages and forms, do not hesitate to contact us directly through the plugin website:
https://cff.dwbooster.com/customization
Bet regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible for the height to be automatic?Hello @klingbeil
Please check the points described below:
First, you must enter your website’s domain, I assume that https://www.domain.com is not your domain.
Second, you must tick the checkbox in the troubleshoots area, accessible through the “Calculated Fields Form > Troubleshoots Area & General Settings” menu option, to allow accessing the forms directly.
Finally, you must ensure your server allows your website pages to be loaded into iframe tags in external domains (If you don’t know how to configure it in your server, please ask your hosting provider).
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible for the height to be automatic?Hello @klingbeil
You can try with a a piece of code similar to:
<iframe src="https://www.domain.com/?cff-form=5" style="width:100%; height:820px; overflow: hidden; border: none;" scrolling="no" onload="this.width=this.contentWindow.document.body.scrollWidth;this.height=this.contentWindow.document.body.scrollHeight+40;this.style.minHeight='auto';"></iframe>However, the previous code would work depending the source (where the form is ) and destination (where the iframe is inserted) domains.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Is it possible for the height to be automatic?Hello @klingbeil
It applies the automatic height to the iframes too, but when you insert the shortcode as follows:
[CP_CALCULATED_FIELDS id="5" iframe="1"]Best regards.
Hi! 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 and the CFFCHART and PDF generator are commercial features.
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 @asmaahmedd
Thank you very much.
The current equation in your form is:
(function () { var message = ""; var field20 = '%fieldname20%'; var field21 = '%fieldname21%'; var field22 = '%fieldname22%'; var field38 = '%fieldname38%'; var field43 = '%fieldname43%'; if ((field20 == 0 || field20 == 32) && (field21 == 0 || field21 == 32) && (field22 === 0 || field22 === 32) && (field38 == 0 || field38 == 32) && field43 == 0) { message = "Le candidat doit..."; } else { message = "Unfortunately! You have a low chance of being eligible."; } console.log("Message to display:", message); return message; })();You must use the fields’ names directly, without single-quotes or percentage symbols.
(function () { var message = ""; var field20 = fieldname20; var field21 = fieldname21; var field22 = fieldname22; var field38 = fieldname38; var field43 = fieldname43; if ((field20 == 0 || field20 == 32) && (field21 == 0 || field21 == 32) && (field22 === 0 || field22 === 32) && (field38 == 0 || field38 == 32) && field43 == 0) { message = "Le candidat doit..."; } else { message = "Unfortunately! You have a low chance of being eligible."; } console.log("Message to display:", message); return message; })();Best regards.
Hello @asmaahmedd
The URL provided is restricted. Could you please indicate the form ID?
Best regards.
Hello @steveforeman
Thank you very much for using our plugin.
My apologies for the inconvenience. Please download the modified template file by visiting the following link:
https://resources.developers4web.com/cff/tmp/2024/05/24/style.css
Replace the file in the “/wp-content/plugins/calculated-fields-form/templates/08/style.css” path with the updated one.
And please purge your website and browser’s caches after overwrite the style.css file.
We will include the modifications in the next plugin update.
Best regards.
Hello @asmaahmedd
Could you please provide the link to the page that contains the form to check your equation in action?
Best regards.