Hi,
I’m trying to get the form results from another website, by using URL parameters or API calls.
The goal is to get the form result and populate it in the external website. The trigger would be a press of a button on the external website (which could send a http requests with URL parameters added, or trigger an API call, etc)
Is this doable? How can the form get submitted without actually going to the form and filling out the fields? I guess if I pass this step, I could use webhooks to retrieve the results in another place.
]]>Hello,
Is there any way of the making the form page scroll to the next question when a combo box response is clicked?
]]>Hi, I have an issue with a form:
https://ibb.co/r6qcbLS
Basically, the user selects a model (1).
By default, the STANDARD option (2) is selected, and its value is inserted into the TOTAL field (3).
The problem is that, for some models selected from the menu (1), I need the STANDARD field to be deselected, or its value to be set to zero. Is it possible?
Thank you.
]]>I have two div fields that are worksheets and contain many fields to generate a price quote. The two fields must remain visible when the form loads; call them fieldname1, fieldname2
I want to create two buttons
Button 1, called Presentation that will:
Another button in the fieldname3 div (call it Worksheet) will do the following:
I did not see this topic in the forum, I apologize if I missed it.
Thanks!
]]>Hi,
Again, like in this thread, the week numbers are wrong. Can you please update the plugin or tell me what to do?
Thanks,
Nathan
Dear @CodePeople2,
We are working on a small development, but we’ve encountered an issue in one part. It’s off-topic, but we would really appreciate it if you could share your thoughts, suggestions, or a PHP script to help us out.
As you know, we add the calculation form to our page using the following shortcode: [CP_CALCULATED_FIELDS id="6"]
Additionally, we share this form via iframe with third-party sites. We want to add the following code below the iframe:
<br/><center><a href="page link" target="_blank" style="text-decoration:none;"><font size="1" color="#000000">page title</font></a></center>
However, we are unsure how to retrieve the page title and URL address using PHP when using the form in WordPress.
Do you have any suggestions? We’d really appreciate your input. (Thank you)
]]>Hi,
I’m using the summary block to show the summary. I’ve entered the fields to display on summary. That is working fine. I’ve checked the box “Exclude empty fields”
Now I am using sliders with the default ‘0’ as value (minimum value) and I am using conditional dependence fields.
Question: How to exclude the items from the summary:
Thanks!
(I’m using Calculated Fields Form Professional)
Правильно ли я настроил плагин? При нажатии кнопки Submit форма пропадает и письма не приходят.
]]>I want fieldset closed (collapsed) to be grey, but when open (not collapsed) I want it to be blue. Can you direct me to the CSS to change this or if there is another method.
Thanks.
]]>Hello. I’m planning to buy the commercial plugin. But if I purchase the “professional” version and later decide to upgrade to the “developer” or “platinum” version, will I need to pay the full amount again or just the difference between the paid versions?
Thank you
]]>Hello, I need to make my website on this site Link This is the best calculator I have ever seen. Can you please help? I installed your program on my site Sginal.uz Workpress? I do not know English and use a translator. Thanks for the answer
]]>Hi @codepeople
I want to obtain a calculated field showing 1 or more of 4 posible options:
Some fields are associated with one, some with more than one, and some with all. How could I do it? It shouldn′t be repeated. I mean: if two fields have the same options, it should show once.
Thanks in advance
]]>How can I make a sticky element or div in CFF?
]]>Hello. First of all, thank you for this wonderful plugin.
I’m receiving warnings from Google PageSpeed because the color contrast settings of the ready-made templates are low. For example, I am using template number 6 on my website. Is it possible for you to rearrange the colors in the ready-made templates to address this issue? Best regards.
]]>I want to add field(or div with multiple field) dynamically. for example :
when an user enters 3 (No of rooms Required), thus fieldname1 = 3. which creates 3 new fieldnames to hold value of “type of room”.
Is there any possible way?
]]>Hello,
I have an issue with printing. Within the plugin, I can view and print to PDF correctly (just one page with the form).
However, when I run the plugin from the website and do the same thing, the PDF has a blank initial page, and everything I need is on the second page.
Right now, I’m saving it as a PDF and deleting the first page, but is there a way to solve this problem?
Thank you.
]]>Hi,
I want to use a CFF to show a certain picture after typing a certain picture ID. The user shall type the ID of the picture he wants (“ABC12345”) and after pressing a button he sees the picture with the URL “https://domain.com/wp-content/upload/eventid/ABC12345.jpg”
I have the input field 1 for the ID, a calculated field 2 in which the URL is generated with field 2 set equation: ”https://domain.com/wp-content/upload/eventid/” + fieldname1 + “.jpg” and that looks fine in the calculated field.
And a button (calculate) with the onclick event: redirectToURL(fieldname2).
But this doesn’t work. Nothing happens. I guess I made a stupid mistake and I tried a lot of variations but nothing does work. It does work when I take the complete path (redirectToURL(”https://domain.com/wp-content/upload/eventid/ABC12345.jpg”) for the onclick event.
Perhaps there is somebody who can help me? Thanks in advance
]]>I need to make a decision if I set up a network of 15-30 sites individually or use WordPress Multisite. Since CFF will be a key component of each site I was wondering if you had any recommendations or know of any compatibility issues.
Thanks.
]]>I would like to hide certain fields during printing. Is there a way to do this?
]]>Hello,
I need to set the default value of a field to match the value of another field, but I’m unable to get it to work. It only works if I enter a specific number.
When I set the default value to the name of another field, it takes the numeric part of the field name as the value instead of the actual field value (e.g., fieldname38 becomes 38, but I need the value of fieldname38).
https://ibb.co/2SdQ2j0
I hope this is clear. How could I solve this?
Thank you.
HI , thanks for your amazing plugin.
Hello, dear @codepeople. Thank you for your amazing plugin! I need your help!
I understand how to make a random number which is between two numbers (1-10):
((Math.floor (Math.random()*10)+1)
But how do I go about generating a random number which falls into multiple ranges?
For example: number can be between 1 to 10 or between 51 to 60
I try this, but it’s not working:
((Math.floor (Math.random()*10)+1)|(Math.floor (Math.random()*10)+51))
]]>
Hi @codepeople,
I want to redirect the results of a form to a WhatsApp number and/or an email. Is it posible?
Thannks in advance
]]>Merhaba,
Bir buton ekleyip ona her t?klad???m?zda alan eklememize (veya gizli alanlar? s?ras? ile g?stermek) olanak tan?yan bir kod var m??
?rne?in: Birinci buton t?klamada 1. kap?n?n alanlar?, ikinci buton t?klamada 2. kap?n?n bilgilerini isteyen alanlar?n a??lmas? mümkün mü?
Ek: ?rnek ekran g?rüntüsü
]]>I have a list of products that I am assigning pricing through a function in a calculated field and the input and calculation is painfully slow.
I’ve tried this a couple ways, putting seperate functions in seperate calculated fields, setting delays, etc. with the same slow result.
Any suggestions, here is the code:
(function () {
let calculationTimeout;
// Function to assign row prices (this will be delayed)
function assignRowPrices() {
getField(73).setVal(fieldname71 * fieldname72);
getField(81).setVal(fieldname79 * fieldname80);
getField(202).setVal(fieldname200 * fieldname201);
getField(152).setVal(fieldname150 * fieldname151);
getField(158).setVal(fieldname156 * fieldname157);
getField(196).setVal(fieldname194 * fieldname195);
getField(168).setVal(fieldname165 * fieldname167);
getField(233).setVal(fieldname231 * fieldname232);
getField(238).setVal(fieldname236 * fieldname237);
getField(247).setVal(fieldname245 * fieldname246);
getField(252).setVal(fieldname250 * fieldname251);
getField(257).setVal(fieldname255 * fieldname256);
getField(269).setVal(fieldname267 * fieldname268);
getField(274).setVal(fieldname272 * fieldname273);
getField(279).setVal(fieldname277 * fieldname278);
getField(297).setVal(fieldname295 * fieldname296);
getField(304).setVal(fieldname302 * fieldname303);
getField(311).setVal(fieldname309 * fieldname310);
getField(327).setVal(fieldname345 * fieldname326);
getField(337).setVal(fieldname345 * fieldname336);
}
// Function to calculate section totals
function calculateSectionTotals() {
let totalPanels = SUM(getField(73).val(), getField(81).val()) - getField(202).val();
let totalShelves = SUM(getField(152).val(), getField(158).val()) - getField(196).val();
let totalBridge = SUM(getField(168).val(), getField(233).val()) - getField(238).val();
let totalRods = SUM(getField(247).val(), getField(252).val()) - getField(257).val();
let totalDrawers = SUM(getField(269).val(), getField(274).val()) - getField(279).val();
let totalDoors = SUM(getField(297).val(), getField(304).val()) - getField(311).val();
let totalFiller = getField(327).val() - getField(337).val();
return [
totalPanels > 0 ? totalPanels : "",
totalShelves > 0 ? totalShelves : "",
totalBridge > 0 ? totalBridge : "",
totalRods > 0 ? totalRods : "",
totalDrawers > 0 ? totalDrawers : "",
totalDoors > 0 ? totalDoors : "",
totalFiller > 0 ? totalFiller : ""
];
}
// Function to update totals
function updateTotals() {
const [totalPanels, totalShelves, totalBridge, totalRods, totalDrawers, totalDoors, totalFiller] = calculateSectionTotals();
getField(96).setVal(totalPanels);
getField(162).setVal(totalShelves);
getField(178).setVal(totalBridge);
getField(261).setVal(totalRods);
getField(283).setVal(totalDrawers);
getField(317).setVal(totalDoors);
getField(341).setVal(totalFiller);
let grandTotal = SUM(totalPanels, totalShelves, totalBridge, totalRods, totalDrawers, totalDoors, totalFiller);
getField(322).setVal(grandTotal > 0 ? grandTotal : "");
}
// Wrapper function to delay calculations without affecting quantity input
function delayedCalculation() {
clearTimeout(calculationTimeout);
calculationTimeout = setTimeout(() => {
assignRowPrices();
updateTotals();
}, 500); // Set delay for calculations to trigger only after input pause
}
// Initial calculation
delayedCalculation();
// CFF built-in listeners will handle triggering delayedCalculation()
})();
]]>
Hello. Is it possible to return a yes / no value when a selected date is before or after a set date. Something like,
(function(){
var purchaseDate = fieldname6;
var fromDate = 11/30/2024;
if (purchaseDate < fromDate) {
? alert(“Current date is before November 30th.”);
} else {
? alert(“Current date is after or equal to November 30th.”);
})();
Thank you.
]]>First I want to thank you for the excellent CFF plugin. The page which uses the CFF plugin is one of the most important pages of my site. Thank you very much.
I’m now looking for a possibility to suspend the displaying of the page contents while the CFF form is being loaded. There should be no visible contents below the animation which is shown during loading the CFF form. The remaining contents of the page should appear after the CFF form is completed.
Is there any possibility to do that?
I know, that my idea is very uncommon and the current behaviour of loading the form and displaying the page contents simultaneously is normally the prefered method.
The reason for my idea is that when I call up the page via a url of a comment far below the CFF form, at first the comment will be displayed correctly. But a few moments later (when the CFF form finished loading) the focus to the comment will be lost because the display moves half a page down.
Thank you for your help
Tooni
Hello, it’s been long time we discussed here ??
I want to create a simple calculator, where you click the button and you get the phrase of the day + picture of that phrase. I need the help of the CFF Master ??
My results appear in HTML content field with name: fieldname5 with class:
<div class=”result-here”></div>
I added 5 images with ‘hide’ class in these fields: fieldname6; fieldname7; fieldname8; fieldname9; fieldname10.
My function don’t work correctly with images, I think I don’t understand about the data type of the fieldname6; fieldname7; fieldname8; fieldname9; fieldname10. So the function is bad when I talk about images in it ??
Now, only phrase appears and image don’t appear.
The thing should be that only 1 random phrase appear and the image of that phrase appears with the phrase too. Other images remains hidden.
My function looks like this:
jQuery('#fbuilder').on('click', function() {
(function() {
var result = Math.floor(Math.random() * 5) + 1;
var phrases = [
"Phrase No. 1",
"Phrase No. 2",
"Phrase No. 3",
"Phrase No. 4",
"Phrase No. 5"
];
var phrase = phrases[result - 1];
jQuery('.result-here').html(phrase);
fieldname6.style.display = 'none';
fieldname7.style.display = 'none';
fieldname8.style.display = 'none';
fieldname9.style.display = 'none';
fieldname10.style.display = 'none';
if (result === 1) {
fieldname6.style.display = 'block';
} else if (result === 2) {
fieldname7.style.display = 'block';
} else if (result === 3) {
fieldname8.style.display = 'block';
} else if (result === 4) {
fieldname9.style.display = 'block';
} else if (result === 5) {
fieldname10.style.display = 'block';
}
return result;
})();
});
]]>
I want to form to use the same fonts as defined on the rest of the websites theme. How do I do that?
]]>Hi, I need help with this:
If you click “Yes” on a radiobutton, then I want to add a value to the result. This number/value is the result of 4,5 multiplied with a number from a field in the form.
If you click “No” – no value will be added.
How to do this correct? Thanks a lot for help!
]]>Is it possible to add a wordpress shortcode in the forms?
]]>