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.

Paypal Help

  1. http://www.sikhyouthalliance.org/test-form/

    I have:

    - Set up my form
    - Installed the PayPal Add-on
    - Run through all the steps listed at: http://www.gravityhelp.com/documentation/add-ons/paypal-add-on/.

    Can someone point me in the direction of how to set up the "math" on my form.

    i.e. For the first registrant the cost is $135. If there spouse is attending it will be an additional $135. For each kid (up to 3 children) it will be an additional $40.

    Thanks in advance!

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  2. Pricing calculations only work if you use Pricing Fields.

    Are you using Pricing Fields for anything other than the Total field? The Total field is a pricing field but it only works with the other Pricing Fields to calculate pricing.

    I see you have checkboxes on your form. Are these standard checkboxes or are you using the Product Field from the Pricing Field toolbox?

    If you aren't using the Product Field for this it won't calculate the Price.

    Pricing Fields are also required for passing pricing data to PayPal. So if you aren't using Pricing Fields, you won't be able to use the PayPal Add-On either. They are what is used to calculate pricing information. The non-Pricing Fields are not used to calculate pricing.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  3. http://www.sikhyouthalliance.org/test-form/

    Carl:

    Thank you, seems like i have the pricing working the way i want.

    Is there a way to hide the pricing fields? So it doesn't say "Registration Fee Price: $135.00" "Registration Fee - Spouse Price: $135.00" etc.

    Also any advice to make this form look better? I'm happy with the functionality of it but the look is not the best. i.e. the Name Field, Kaur/Singh Drop down box and DOB are all different sizes.

    Anything to help would be greatly appreciated.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  4. No, it's a standard field so it can't be hidden the way it is designed.

    But how you implement the product field is up to you. The Product field has a few different field types it can be.

    What you are trying to do could be accomplished a variety of ways. You could use a Multiple Choice product field and then based on which product they select you show the appropriate fields. You could use this to combine the spouse and child selections into one product field selection and then show the appropriate fields using conditional logic.

    The reason for the different spacing on the fields has to do with your themes stylesheet and how the Ready Classes work. Your theme is adding some styling to the form due to CSS inheritance and this is why the spacing varies. The spacing is being set by the Ready Classes so they appear spaced the way they do. The fields you aren't using Ready Classes on are inheriting some styles from your theme that is causing their spacing to appear the way it is.

    Because we can't take into account CSS being applied by themes due to how inheritance works sometimes you may have to add custom CSS to your themes stylesheet to adjust the styles applied to your form to fix any spacing inconsistency.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink