Small problem with Contact Form 7 and Fee

[ad_1]

I have a problem with the form from Contact Form 7. It should count the fee, but it’s the first time I’m doing something like this and I managed to do it in such a way that only a few mathematical operations are missing. For now, I am at the stage of calculating the fee for 30 days (30 EUR/day) and the rest of the days (27 EUR), but I cannot write a formula that would automatically calculate the next fee change between 61-156 days (23 EUR/day). This is my code for this section:

<span hidden> <strong>aa1: [calculated aa1 "(calculated_51-30)^2"] </strong>
<strong>aa2: [calculated aa2 "((aa1^0.5+calculated_51-30)/2)"] </strong>
<strong>TOTAL: [calculated oplata_1 "(calculated_51*30-aa2*3)"] €</strong>

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer