• Hello,
    I am trying to create a simple order page where user inputs Number of units they want and next column shows calculated Sub Total.
    Each time I open to view the page I get the ‘please enter valid formula in calculator’ message so it seems I have done something wrong in my coding.
    My guess is my syntax is wrong in either the Number field or the calculator field (or both 🙂
    Here is an example of one of the rows in the page.

    <div class="columns one">
          <div class="field"><label></label>[number Parafoil]
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label>[calculator ParafoilTotal Prefix:$ Precision:2 "number Parafoil * 6.00"]
            <p class="info-tip"></p>

    Does anyone know what I’ve done wrong?
    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    [calculator ParafoilTotal Prefix:$ Precision:2 "number Parafoil * 6.00"]

    What is this?

    Thread Starter windspeed

    (@windspeed)

    This is the code I put in to try to calculate Sub Total cost.
    Is there some way I can send screenshots or .jpg’s to this post as I’ve made two that will explain better.
    Thanks

    Thread Starter windspeed

    (@windspeed)

    Here is the full html for that row.

    <div class="container">
      <div class="row">
        <div class="columns two">
          <div class="field"><label></label><br> Single string
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label><br> 836
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns two">
          <div class="field"><label></label><br> Pocket Parafoil
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label><img src="https://www.windspeedkites.com.au/wp-content/uploads/2019/11/Unicorn.jpg">
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one-fourth">
          <div class="field"><label>Age: 5 years and up</label>Winds: Medium and fresh <br>Size:770mm x 500mm
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label><br> $6.00
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label>[number Parafoil]
            <p class="info-tip"></p>
          </div>
        </div>
        <div class="columns one">
          <div class="field"><label></label>[calculator ParafoilTotal Prefix:$ Precision:2 "number Parafoil * 6.00"]
            <p class="info-tip"></p>
          </div>
        </div>
      </div>
    </div>
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Please enter valid formula in calculator’ is closed to new replies.