pbosakov
Forum Replies Created
-
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] The default value is set to 0Thank you for the suggestion! I will take it into account for the next release.
Forum: Plugins
In reply to: [Meta pixel for WordPress] Why these gets inserted in the output message?+1, I have the same issue so I will follow this thread. Let us know when a fix is available. Thanks!
Hi,
Mateusz is correct, this is a limitation of the free version – you can only have one calculated field per page.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Checkbox + labelHi,
Yes, you can use labels with checkboxes. If the label for the checkbox is a number, you can use it directly in the calculation, for example:
[checkbox my_checkbox "1" "2" "3"]
If you need text labels, you may use the
[variable]
tag (available in the Pro version) to map each text to a number, and then use the value of the[variable]
in your calculation:[checkbox my_checkbox "One" "Two" "Three"]
[variable my_variable cf7-hide "my_checkbox:" "One 1" "Two 2" "Three 3"]
Kind regards,
PetkoHello, what you describe is possible in the Pro version of the plugin (you can find an example on this demo page).
These support forums are exclusively for discussing issues related to the free version hosted on www.remarpro.com, but you can direct any queries regarding premium features (including pre-sales questions) on the discussion board on my website.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Calculate from Text FieldsHi,
Yes, you can use a text field as the source input. It does not have to be a number field, as long as it contains a valid number.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] two digits after kommaIt looks like you included the code in your functions.php file, but this is actually JavaScript code, not PHP. It should go in the front-end section of your website.
I have had good experience with this third-party plugin that helps you easily add JS snippets to your site: Simple Custom CSS and JS
Hope that helps!
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] two digits after kommaHi Angelo, try this one:
jQuery(function($) { $('form').on('wpcf7calculate', function() { $('.wpcf7-calculation').each(function() { var formatted = new Intl.NumberFormat('it-IT', { style: 'currency', currency: 'EUR' }).format($(this).val()); $(this).val(formatted); }); }); });
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Need help on a calculationThank you for your interest! As per the forum guidelines, on these message boards we are only allowed to discuss the plugin that’s hosted on www.remarpro.com. I would be happy to answer any pre-sales questions related to the Pro version on my website.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Need help on a calculationHi, the minimum/maximum option is available in the free version hosted here on www.remarpro.com. Let me know in case it does not work as expected.
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] simple sumHi, there are other third-party plugins that allow you to easily add custom JavaScript to your website. For example, I’ve had good experience with Simple Custom CSS and JS By SilkyPress.com
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Need help on a calculationHi, you may try something like this:
[calculation result min:0 "0.25 * (km-20)"]
From the plugin documentation:
Minimum – by specifying the “min:X” attribute, you can set a minimum value for the result of the calculation. For example, if you specify “min:0”, when the result is negative, it will always be set to zero instead.
Hope that helps!
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Does not work with PopupHi, your custom JavaScript code is preventing events originating inside the popup from propagating to the main document. You need to correct that in order to allow the script to handle clicks on the “Calculate” button.
See here: https://i.ibb.co/1fShZBR/js.png
Hope that helps!
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Updated to WordPress 5.3Hello, the issue you reported should now be fixed in the new version (1.0.10). Let me know if you continue experiencing any problems. Thanks!
Forum: Plugins
In reply to: [PVB Contact Form 7 Calculator Add-on] Does not work with PopupHi, you can try the new version release. It improves the handling of button clicks and might possibly fix the issue with popups that you have been experiencing.
Please note that you can have only have one calculator form per page, even if it is in a hidden area (such as a pop-up).