PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Javascript and Google Maps API

  1. justinmultimedia
    Member

    Hello,
    Our current site jubasd.com is using formstack service for the processing of our forms, but would like the use gravityform instead because we can access the form submissions inside wordpress. The form found on this page http://jubasd.com/rates-reservations/to-san-diego-airport is using formstack with some custom javascript for the Zip Code field. It is an input field that checks a hidden drop down field the has zip code and rate (i.e 91950 | $30 ). It also notifies if it is a valid or invalid Zip Code based on the same hidden drop down field. Would there be an issue having gravityforms handle this type of customization?

    The other form you can see here http://jubasd.com/rates-reservations/san-diego-county-transportation is using a customized form that is using google map api and checks the distance between the two point and multiplies by a fixed $3 per mile. It doesn't use formstack like the other form just to be clear. Would there be an issue having gravityforms hadle this type of customization?

    Thanks for your help.

    Regards,
    Justin

    Posted 11 years ago on Monday November 28, 2011 | Permalink
  2. How are you doing this with Formstack now, are you using conditional logic to show/hide a hidden product field based on the value entered into the zip code field?

    Posted 11 years ago on Monday November 28, 2011 | Permalink
  3. justinmultimedia
    Member

    Its a custom javascript function that a programmer developed for us. The script basically looks at the option field (that is hidden) and checks if the input field is a valid or invalid Zip Code and displays the amount.

    Posted 11 years ago on Monday November 28, 2011 | Permalink
  4. You should be able to do the same thing with Gravity Forms too then if it is custom javascript. You may have to adjust it some to work within the different application, but you can customize Gravity Forms using PHP and jQuery if you want to make it do something it doesn't do natively.

    Posted 11 years ago on Monday November 28, 2011 | Permalink