calculation using miles when feet is the calculated result

  • Profile Image
    ladeko
    Asked on March 08, 2016 at 10:29 AM

    Hello,

     

    I have the distance calculator widget on my form.  I have this form setup to calculate the distance in "miles" between 2 addresses and it works perfectly in that regard.

     

    However, if the distance between 2 addresses is less than 1 mile (for example 500 feet) it is calculating the feet.

    For example the formula is miles x $4.00.  So if the customer is traveling 2 miles it calculates 4x2 = $8. But if the distance is 500 feet, it calculates 500 x 2 miles = $1000.

    How can I fix this?  If you want to test it out go to my form and select service type = point-to-point and put in an address that is less than 1 mile in distance. (for example your address and your next door neighbors address)

    I gave the url for my form below:

     

    https://form.jotform.com/60665453985165

     

    How can I fix this?

  • Profile Image
    Kiran
    Answered on March 08, 2016 at 12:52 PM

    I'm checking on this issue. Please allow me some time to run few tests and get back to you with relevant information. 

    Thank you for your patience. 

  • Profile Image
    Kiran
    Answered on March 08, 2016 at 01:24 PM

    Thank you for being patient. As I check the issue further, you may add a new field to calculate the final when the distance is displayed in feet by using a condition as shown below:

    Please see the demo form below that can help you with calculating when the distance is feet.

    https://form.jotform.com/60674713996974

    Hope this information helps! Please let us know if we can be of any further help.