CodePeople2
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] fill with color the percentage in resultsHello @sakis11111
Thank you so much for using our plugin. Yes, that’s possible, but requires a calculated field as an auxiliary.
Assuming your fields are fieldname1, fieldname2, and fieldname3.
Insert a calculated field to use as an auxiliary. You can exclude it from the submission and hide it from the form by ticking a pair of checkboxes in its settings.
Finally, enter the following equation:
(function(){
let fields = {
fieldname1|n: fieldname1,
fieldname2|n: fieldname2,
fieldname3|n: fieldname3
},
color;
for(let i in fields) {
if(fields[i] < 50 ) color = 'green';
else if(fields[i] < 80 ) color = 'orange';
else color = 'red';
getField(i).jQueryRef().find('input').css('color', color);
}
})()Note I used hypothetical fields’ names, values, and colors. You must replace them with the preferred ones.
Also, note I included the |n modifier in the piece of code:
let fields = {
fieldname1|n: fieldname1,
fieldname2|n: fieldname2,
fieldname3|n: fieldname3
},It tells the plugin you are referring to the field’s name and not its value. The previous code creates an object with pairs, fields’ names and values.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Floating calculated fieldHello @ohtusabes
You can enter the CSS rule value with the !important modifier as I did with some rules in the video I sent you in the previous entry.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Floating calculated fieldHello @ohtusabes
Displaying a field as a floating element is very simple. You need only to make its “position” CSS rule “fixed” and enter the left, right, top, or bottom CSS rules necessary to display the field in the preferred place. Please watch the following video:
https://resources.developers4web.com/cff/tmp/2025/04/08/video_o.mp4
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Calculated field does not showForum: Plugins
In reply to: [Calculated Fields Form] Calculated field does not showHello @oscarvaingilbert
I apologize for any inconvenience caused and for the delay in responding to your question. We have identified the cause of the issue with the summary control and have released a plugin update (version 5.3.41) that resolves the problem.
Could you please install the latest plugin update and clear both your website and browser caches before checking again?
Best regards.
Forum: Reviews
In reply to: [Calculated Fields Form] Excellent Customer Service!! Top Notch!!Forum: Plugins
In reply to: [Calculated Fields Form] Email settingsHello @ohtusabes
I understand now what you need, and I apologize for any confusion. Yes, it is possible to collect the information of the logged-in user. However, in this case, you will need the DS fields provided with the Developer and Platinum plugin distribution.
Learn more about the DS fields by reading the following blog post:
https://cff.dwbooster.com/blog/2019/02/14/ds
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Email settingsHello @ohtusabes
Yes, of course. You can capture all the data collected by the form, including the email address, if you have an email field in the form.
You need only to enter the
<%INFO%>tag in the email content if you want to receive a summary of the data collected by the form.Learn more about the fields and informative tags you can include in the notification emails by reading the following section in the plugin documentation:
https://cff.dwbooster.com/documentation#special-tags
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Update purify.js mXss vulnerabiltiyHello @bharath15
We have upgraded the DOMPurify version just now. Please install the latest plugin update.
Best regards.
Forum: Plugins
In reply to: [Music Player for WooCommerce] Drive LinksHello @francescabasile
Thank you so much for using our plugin. You must use the download link for the audio file on Google Drive because the share link redirects you to a Google Drive internal player, not the audio file.
In your specific case it is:
https://drive.google.com/uc?export=download&id=1wgxUMYz-U_JpowV1EykzN7n7YeDgJrrc
If you don’t want to tick the “handle them as mp3 files” option in the plugin settings page, you can edit the previous URL as follows:
https://drive.google.com/uc?export=download&id=1wgxUMYz-U_JpowV1EykzN7n7YeDgJrrc&.mp3
Best regards.
- This reply was modified 1 year, 2 months ago by CodePeople2.
Forum: Plugins
In reply to: [Calculated Fields Form] replace numbers with special characterHello @benlashley80
I assumed that you had resolved the problem following my recommendations in the previous post because I visited your form, and the equation worked correctly.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] replace numbers with special characterHello @benlashley80
I recommended replacing the complete equation, but you replaced only part of the equation’s code. The equation is as follows (You don’t need to use function structure or return instruction):
IF(fieldname89 == 'Yes', '<span>' + fieldname57|r + '</span> <span>' + fieldname58|r + '</span> <span>' + fieldname59|r + '</span><br>', 'No Children')Please note that you are using the commercial version of our plugin, and this forum does not allow supporting customers.
https://ww.wp.xz.cn/support/guidelines/#do-not-post-about-commercial-products
Commercial users must contact us directly in the plugin website. Contact Us
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] replace numbers with special characterHello @benlashley80
Please provide the link to the page with the form and the values to enter to test the equation in action.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] replace numbers with special characterHello @benlashley80
Your code should work fine, but in this specific case, it can be optimized as follows:
IF(fieldname89 == 'Yes', '<span>' + fieldname57|r + '</span> <span>' + fieldname58|r + '</span> <span>' + fieldname59|r + '</span><br>', 'No Children')Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Update purify.js mXss vulnerabiltiyHello,
I apologize for the delay in getting back to you, and thank you very much for your valuable feedback. We have upgraded the Purify version used by the Calculated Fields Form plugin. Kindly install the latest plugin update.
Please note that the plugin utilizes the Purify library only within the form builder, which is accessible solely by the website administrator and not on the public-facing website.
Thank you once again for your feedback.
Warm regards.