Calculate distance and integrate form with GetSwift

  • Profile Image
    Godfrey 
    Asked on March 11, 2018 at 12:33 PM

    I need to have a form that will display the distance between the two entered addresses. Using that distance and other variables to give some estimates on the cost. 

    The calculation needs to be like

    VariableA($) + (Distance(miles) - VariableB(miles)) × VariableC($) = Estimates($)

    Would be nice if VariableA and VariableC are based on the selected value from the drop down on the form. 

    Following that then the user can submit the request that can be sent to getswift. Please advise if this is possible within jotform. i believe it is but i need the feature as soon as possible so wanted to check if it can be done or would have to find other resources. I read your forms can submit to getswift. I have created the account with you already.

    Thanks.

  • Profile Image
    Mike_G
    Answered on March 11, 2018 at 02:11 PM

    Calculating distance between two addresses is possible with the help of the Driving Distance widget. Then from there, we can get the Estimates by using conditions and/or the Form Calculation widget (if necessary).

    Here's a sample form that is based on the form I created for another user in this thread — https://form.jotform.com/80694637946978

    That form calculates a cost which is $8 for the first 12 miles and succeeding miles will be charged an additional $0.80/mi. The Driving Distance widget in that form is set to auto-calculate and you need to wait for a few seconds for the distance value to appear.

    To my understanding, that's what you are trying to achieve with just additional variables and a different computation. However, I'm afraid we do not have a direct integration with GetSwift and Zapier's integration is "GetSwift to JotForm" based on what I have searched online — https://zapier.com/apps/getswift/integrations/jotform

  • Profile Image
    Godfrey 
    Answered on March 11, 2018 at 02:43 PM
    That is quite what i needed. I appreciate your help. i will look into it. is it fine to reach out to you for any questions?
    ...
  • Profile Image
    Mike_G
    Answered on March 11, 2018 at 03:13 PM

    You're most welcome!

    So you can inspect my sample form above better, please feel free to clone it to your account. — How-to-Clone-an-Existing-Form-from-a-URL

    I would suggest that you check the following on the clone version:

    1. The Driving Distance widget settings

    1520795125t15_03_10.png

    2. The fields used

    3. The conditions created — Smart-Forms-Using-Conditional-Logic

    1520795225t15_05_37.png

    If you have any questions regarding this, please feel free to reply to this thread — https://www.jotform.com/answers/1411565. However, if you have a different one, you can open a separate thread for your new question — https://www.jotform.com/contact

  • Profile Image
    Godfrey 
    Answered on March 11, 2018 at 05:43 PM
    Thanks
    ...