Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1221497
    kelly b
    Participant

    I am wanting to utilise the distance calculation in E&P Forms. I can’t find any tutorials that cover the distance element of this plug in.

    I have added in my Google Maps browser key.
    I have created a Step “Address”

    In the Step “address” I have the following Items:

    Start Address.

    • Type = Text Field
    • Type of Information = Address

    End Address

    • Type = Text Field
    • Type of Information = Address

    Cost

    • Type = Checkbox
    • Price = 0.85 (this is for the calculation of .85 cents per km)
    • Is hidden? = Yes

    Calc

    • Type=Checkbox
    • Use calculation = yes
    • Calculation=
      70
      if (( [distance_7—_5—_km] >25) ) {
      ( [distance_7—_5—_km] )*( [item-9_price] )
      }
    • Is hidden = Yes

    The calculation is trying to say this:
    If the end distance is greater than 25km then add (total distance x .85c) to start price of $70

    The issue is that this is not producing a result. I thought I read somewhere that the address field auto completes addresses too but this is not happening either.

    There is no documentation to trouble shoot this that I can see anywhere.

    Ill send you a login privately shortly.

    Thanks
    Kelly

    #1221506
    kelly b
    Participant
    This reply has been marked as private.
    #1221898
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding.

  • <script> jQuery(function($){ $("#no-reply-1221497 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>