codepeople
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Time Slots Booking Form] block specific days from being bookedHi,
Use the following settings field:
https://wptimeslot.dwbooster.com/images/articles/invalid-blocked-dates.png

To define some dates as invalid, enter the dates with the format: mm/dd/yyyy separated by comma; for example: 12/31/2024,02/20/2024 or by hyphen for intervals; for example: 12/20/2024-12/28/2024
Check also the “Min date” settings field for requiring a minimum time before the booking.
Thank you for using the plugin!
Forum: Reviews
In reply to: [Music Player for WooCommerce] Great plugin – AMAZING supportForum: Plugins
In reply to: [Search in Place] Search bar forced to lowercaseHello @ckrauter
Thank you very much for using our plugin. You can enter the following style definition through the “Appearance > Customize > Additional CSS” menu option:
input[name="s"], input[name="cpsp-autocomplete"] { text-transform: initial !important; }In this case, we recommend deactivating the autocomplete option in the plugin settings page because we cannot guarantee the recommended text has the same upper and lower case letters as the text the user types. If you apply the same text-transform to both you would not have this problem.
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Pull real time values from another siteHello @lowercas3
Thank you very much for using our plugin. The answer to your question depends on the source of the data. If the data are generated by an API you can activate the ” CFF – SERVER-SIDE Equations” add-on (Distributed with the Developer and Platinum plugin versions), implement a server-side equation to get the information from the external source, and finally call it from your form.
Note you can call the same server-side equation from multiple forms, so, you would need to implement it only once.
Learn more about the “CFF SERVER-SIDE Equations” add-on by reading the following blog post:
https://cff.dwbooster.com/blog/2018/10/01/server-side-equations
The server-side equations have many other uses, you can find some of them in the following posts:
https://cff.dwbooster.com/blog/2019/08/04/partial
https://cff.dwbooster.com/blog/2019/11/05/case-of-use-filtering-products
https://cff.dwbooster.com/blog/2022/12/10/case-of-use-getting-distance-with-bingmaps/
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] toggle switch with 2 values?Hello @sloganwp
I’m sorry, but I don’t understand your question.
You can configure fields depending on the radio button choices. The dependent fields will be visible and active only when the choice is ticked:
https://cff.dwbooster.com/blog/2020/03/01/dependencies
Furthermore, you can associate a different value to each choice you can use in the equations by using conditional statements or conditional operations as I did in a previous entry.
SUM(fieldname1, fieldname2)*IF(fieldname3, 12, 1)Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] toggle switch with 2 values?Hello @sloganwp,
Not really, it is only one radio button choice with two status modified via CSS.
Best regards.
Forum: Plugins
In reply to: [Data Source for Contact Form 7] get a list of events, but just next eventsHello @stefanoulivieri
Perfect !!!. The solution will depend on how you want to display it. The script block in your entry is preprocessing post_title properties in the RecordSet records, and replacing them.
Best regards.
Forum: Plugins
In reply to: [Data Source for Contact Form 7] get a list of events, but just next eventsHello @stefanoulivieri
You can check if your SQL query is correct by evaluating it directly in the MySQL console in your hosting provider (Like PHPMyadmin).
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] toggle switch with 2 values?Hello @sloganwp
Yes, that’s possible. The plugin includes the “Customize Form Design” attribute in the “Form Settings” tab. It is a CSS editor with syntax highlighting and error checking. You can assign a custom class name to the field you want to modify, and personalize the field appearance as needed. Please watch the video by visiting the following link:
https://resources.developers4web.com/cff/tmp/2024/06/04/video_o.mp4
If you need a custom coding service to personalize the appearance of your control, please contact us directly through the plugin website. Contact Us
Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] toggle switch with 2 values?Hello @sloganwp
Thank you very much for using our plugin. The value of the unticked checkbox (or switch off) is zero. So, you can insert a checkbox field with only one choice and enter the number 1 as its value. In the equation implementation, you can consider the field value 1 as the annual fee, and the monthly fee otherwise.
For example, assuming you have the equation fieldname1+fieldname2, and the fieldname3 is the checkbox field. If the user ticks it (its value is one, annual fee) you want to increase the sum twelve times. The hypothetical equation could be implemented as follows:
SUM(fieldname1, fieldname2)*IF(fieldname3, 12, 1)Best regards.
Forum: Plugins
In reply to: [Calculated Fields Form] Product of a sequence of numbersHello @lowercas3
In this case, you must walk the array of values.
(function(){ var list = fieldname123|r.replace(/[^\.\d\,]/g,'').split(','), result = IF(list.length, 1, 0); for(var i in list) result *= list[i]; return result; })()Best regards.
Hello @mpmarinov
Perfect. However, if you want to display the buttons side by side, the
margin-left:50% !important;CSS rule must be assigned to every .pbPrevious button and the .pbNext button on the first page (.pb0).Best regards.
Hello @mpmarinov
Please use the !important; modifier to increase the CSS rules precedence:
#fbuilder .pb0 .pbNext, #fbuilder .pbPrevious{ margin-left:50% !important; } #fbuilder .pbNext, #fbuilder .pbPrevious, #fbuilder .pbSubmit{transform:translateX(-50%) !important;}Best regards.
Hello @mpmarinov
If you are referring to the “Next Page” and “Previous Page” buttons. You can enter the style definition below through the “Customize Form Design” attribute in the “Form Settings” tab:
#fbuilder .pb0 .pbNext, #fbuilder .pbPrevious{ margin-left:50%; } #fbuilder .pbNext, #fbuilder .pbPrevious, #fbuilder .pbSubmit{transform:translateX(-50%);}Best regards.
Forum: Reviews
In reply to: [Loading Page with Loading Screen] Amazingly amazing