codepeople
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Custom dependenciesHello @javahat
Thank you very much for using our plugin. The process is really simple. You can create an equation with conditional statements (if) or conditional operations (IF). The code is case-sensitive, please do not confuse them.
So, you can implement the equation as follows:
(function(){
if(fieldname1 < 100) return fieldname1*10;
if(fieldname1 < 350) return fieldname1*15;
if(fieldname1 < 500) return fieldname1*20;
return fieldname1*30;
})()In the previous example, the values and field’s name are hypothetical.
Best regards.
Forum: Plugins
In reply to: [Contact Form Email] CSS styling for submit buttonHi,
I tried to check the styles already applied to your button but I cannot open the website. It may be located behind a firewall or open only to a range of IP addresses.
Anyway, a CSS rule like the following should help:
#fbuilder .pbSubmit {
width: 200px !important;
height: 40px !important;
border: 0px !important;
}Adjust it as needed. Remember to clear the cache after adding the new styles.
Thank you for using the plugin!
Hi,
That text can be translated with a translation plugin. Depending of the translation plugin you are using you may need to setup it to temporarily detect new strings for translations and then submit a test booking to send that email and detect the new text for translation.
Thank you for using the plugin!
Hi,
It can be changed with a translation plugin, with styles or with WordPress hooks. Other solutions may be available depending of the modification you want to apply.
Please note that you are referring to a commercial feature. 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.
Hello @eberkland
I’m sorry, but you should not provide any credentials in forums.
I recommend that you create a basic form, as a proof of concept, on a public and accessible website.
Best regards.
Hello @eberkland
Thank you very much for using our plugin. Please provide the link to the page containing the form to check how the styles affect the form elements.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Radio buttonsHello @ohtusabes
Since the radio buttons are separate fields and not choices of the same radio buttons field, you must check its value before returning it:
(function(){
if(fieldname97) return fieldname97|r;
if(fieldname100) return fieldname100|r;
if(fieldname102) return fieldname102|r;
if(fieldname103) return fieldname103|r;
if(fieldname106) return fieldname106|r;
})()Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Radio buttonsForum: Reviews
In reply to: [Appointment Hour Booking - Booking Calendar] A great plugin.Thank you very much for the review!
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Radio buttonsHello @ohtusabes
I’m sorry, you must include the code into a pair of
<script></script>tags:
<script>
fbuilderjQuery(document).on('click', '#fbuilder [type="radio"]', function(){
let me = this;
fbuilderjQuery('#fbuilder [type="radio"]').each(function(){
if(this.id != me.id) getField(this).setVal(0);
});
});
</script>Best regards.
Hello @ahanastorepro
Thank you very much for using our plugin. The behavior you describe is part of the “CFF – Users Permissions” add-on distributed with the Developer and Platinum plugin versions. It allows to restrict the form access by logged users, even users with specific roles.
Learn more about the “CFF – Users Permissions” add-on by reading the following blog post:
https://cff.dwbooster.com/blog/2019/07/04/users-permissions
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Radio buttonsHello @ohtusabes
Thank you very much for using our plugin.
You don’t have a radio button field with multiple choices, you have separate radio button fields.
So, in your case, you must emulate the process by coding.
Please insert an “HTML Content” field in the form and enter the following piece of code as its content:
fbuilderjQuery(document).on('click', '#fbuilder [type="radio"]', function(){
let me = this;
fbuilderjQuery('#fbuilder [type="radio"]').each(function(){
if(this.id != me.id) getField(this).setVal(0);
});
});Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Form for collecting star ratingsHello @radovand
The equations are evaluated when their operands change their values, but the stars icons are no entry boxes. So, you must do it in the other direction, you must enter a script block in an “HTML Content” field that assigns the value to the calculated field or another submittable field in the form.
Please note that this question is not specific to our plugin. If you require custom coding services to implement this behavior on your form, please contact us through the plugin website. Contact Us.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Form for collecting star ratingsHello @radovand
Yes, of course, that’s possible. But the issue is not collecting the stars’ ratings, the most important is to display the results. You have different alternatives to store and display the results.
For example, you can edit the “cp_calculatedfieldsf_insert_in_database.php” file (https://cff.dwbooster.com/documentation#third-party-database) (distributed with the Developer and Platinum plugin versions) or use the “Database Queries for Calculated Fields Form” complementary plugin (https://cff-bundles.dwbooster.com/product/database-queries) to store the ratings as metadata of the posts, pages, or products you are evaluating. And, use the DS fields distributed with the Developer and Platinum plugin version to read the rating and display the corresponding stars (https://cff.dwbooster.com/blog/2019/02/14/ds)
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] disable Stripe on field value selected?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 Stripe integration is a commercial add-on.
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.