codepeople
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Dark Mode Form StilHello @pexel
You entered the tags directly in the fields labels.
However, I see you created a custom template and entered the style definitions with !important modifier, and the new CSS rules are being assigned to the fields in light and dark modes.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Centre-align radio buttonsForum: Plugins
In reply to: [Calculated Fields Form] Dark Mode Form StilHello @pexel
Please enter the CSS rules with the !important modifier. Ex.
<strong><font style="color:RoyalBlue !important;">Gün:</font></strong>Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Centre-align radio buttonsHello @pidengmor
Thank you very much for using our plugin. I visited your web page and see you have solved the CSS issue.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] CFF Gutenberg Blocks Spill Outside of BoundriesHello @slimpickins
Thank you very much for the feedback and sharing your solution. I’ll analyze its implications to include in the next plugin update.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Global Variables not workingHello @uponity
We are working in a notation that allows to assign Javascript variables as default fields values without ambiguity with plain values.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Global Variables not workingHello @uponity
In the current plugin version, you cannot use variables as fields predefined values directly, but you can assign them at runtime. For example, assuming you have the
myvarvariable:[CP_CALCULATED_FIELDS id="1" myvar="4"]And you want to use it as the default value of the fieldname123 field.
Insert an “HTML Content” field in the form and enter the following piece of code as its content:
<script> fbuilderjQuery(document).on('formReady', function(){ getField('fieldname123').setVal(cff_var['myvar']); }); </script>Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Appearance SettingsHello @fibbu
We’ve good news. We released a plugin update that should solve the problems with CLS. It estimates the form’s height and reserves its space to not affect the other tags’ position on the page when the form is rendered on the client side. Please let us know after installing the latest plugin update (v5.2.3) if the issue is finally solved.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] CLS Thank youHello @pexel
Thank you very much for using our plugin. The current plugin version estimates the forms’ heights, even rendering them on the client side. You don’t need to enter specific heights anymore. However, if you have forms configured as hidden by default, and you display them at runtime, when the form is shown it moves the rest of the page tags. But this is unavoidable, even when estimating the form height.
Best regards.
Forum: Reviews
In reply to: [Calculated Fields Form] Super reliableThank you very much for the review!
Best regards
Hi,
Add a query string URL parameter to each link to the booking page indicating the bike (add for example: ?bike=batavusrazer) and then use the tag %referrer% into the notification emails to get that info in the emails.
You can also use a tracking plugin like this one:
https://ww.wp.xz.cn/plugins/cp-referrer-and-conversions-tracking/
Thank you for using the plugin!
Forum: Plugins
In reply to: [Calculated Fields Form] Global Variables not workingHello @uponity
Thank you very much for using our plugin.
My apologies for the confusion. We are editing the FAQ entries because we modified the implementation of global variables to avoid plugin conflicts.
In previous plugin versions, the shortcode directly creates the global variables, but this has a problem. If another plugin uses a javascript variable with the same name, the global variable will provoke a conflict. The same would happen with global browser variables like window.
With recent plugin versions, the shortcode generates a cff_var object, where the shortcode variables are cff_var properties.
So, if you insert the shortcode:
[CP_CALCULATED_FIELDS id="1" myvar="4"]You can use it as follows:
fieldname1*cff_var['myvar'] or fieldname1*cff_var.myvarBest regards.
Forum: Plugins
In reply to: [Calculated Fields Form] edit formHello @emolotel
No, I’m sorry, you cannot change the field type, but you can enter a regular expression in the “Single Line Text” field settings to validate the entered values to accept numbers only.
/^[\+\-]?\d+(\.\d+)?$/Enter the error message indicating the user the valid value through the “Error message when the regular expression fails” attribute.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] edit formHello @emolotel
I’m sorry, but I don’t understand your question. You remove the “Single Line Text” field from the form and insert a “Number” field in the same place. Finally, it is necessary to edit the equations and dependencies where you used the “Single Line Text” field to include references to the “Number” field.
Best regards.