CalcBuilder Forum

Calc Builder Help

User Dan Ellmore 2026-04-15 20:40:05

Hi I am trying to build a calculator for my client -

I have an excel sheet that calculates what we need it to do but I am not able to get this to work

Could I have a price for someone setting it up so that it calculates please?

I also need to add an email button so that the client and the site owner can have this emailed to them at the same time. Enabling the site owner to contact the client direct

Moonsoft support 2026-04-16 11:34:58

Hi,
we see you have already the form created and the calculations are launching, but something at the configuration is missing, because its throwing an error 'unknown variable $a'. So we think it should be only any small detail to adjust and have it working. We can check your configuration if you can share an access to your calculator backend, or export the calculator to xml, zip it and attach it here, we'll try it and let you know how to solve. The email button configuration is also quite straightforward, depending on your calculator configuration we'll send you the details to add it.

Thanks, regards
Silvia Martín
Moonsoft Team

User Dan Ellmore 2026-04-16 11:39:34

Thanks Silvia,

Admin log in is below. I am happy to pay a fee for your team to complete the form to make it work and add the email button please?

Moonsoft support 2026-04-16 13:10:57

Hi,
ok, checked your calculator and there were a couple of issues with the configuration. First one, there was a strange php code at the php section that you won't need, we just removed. And at the spreadsheet mapping, you had all fields mapped as 'inputs', but when you use inline results, you want to 'extract' them from the excel, so they must be mapped as 'outputs'. Now the calculator is working and hopefully looking at the spreadsheet configuration you can have a better overview of how the form interacts with the excel file.

Now for the email, we reenabled the calculate button, but set its label as 'send email'. The form should be sent to the email you configured. You can add custom content to your email at print preferences->email tab. If you want your users also to enter one email and send a copy to them as well, these would be the steps to follow:

- Add a new input field, for ex with the name 'useremail'. Set it as 'required' and add it to your form.
- At the calculator->email tab, add $usermail to the desired section (for ex, Send email copy (CC) to : )

That should do the work, you can try from your side and let us know if you have further questions. This basic configuration help is included in the standard support of the extension . Of course, we also have a custom calculator service available, in case you want to develop any other custom / more complex function.

Kind regards,
Silvia Martín
Moonsoft Team

User Dan Ellmore 2026-04-16 17:31:45

Hi Silvia

I have added the box for customers to include their email address - but the send email button does not work - could you see what i have done wrong please?

Many thanks for all your help

Dan

Moonsoft support 2026-04-17 08:40:57

Hi,
tried your calculator and the button is working ok, we do receive an email (with the proper to,cc and bcc destinations). But the email is empty because the contents to be included are also configurable. They are at Print preferences->Email tab. We checked the input and output form, so these are the contents that are sent now. You may prefer to create a new layout, or messages at the email, so you can uncheck the 'includes' and create your own layout for the email at the HTML content fields you can find below (same rules working for the form layout apply here, with the ##variable## syntax in order to insert inputs/outputs).

As a final suggestion for the front end form, you can add any kind of message to inform users the information has been sent, you can add it at the 'exit layout' section that is currently empty for your case.

Hope this helps, let me know if you have more questions about any configuration step.

Kind regards
Silvia Martín
Moonsoft Team

User Dan Ellmore 2026-04-17 09:55:53

Silvia
This is superb - many thanks for your help

Dan

Moonsoft support 2026-04-17 10:01:35

Great, thanks for the feedback! We close the ticket with this solution then, please open a new one in case you have any other issue.

Thanks, best regards
Silvia Martín
Moonsoft Team

...
List Manager

Build different lists for your site

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!