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.

Pricing Display CSS

  1. There was a comment posted here - http://www.gravityhelp.com/forums/topic/remove-pricing-diplay-on-option-fields

    Regarding removing the +/- part of the price that was displayed but the custom CSS snippet wasn't attached. Could you please post what I need to enter in order to remove the +/- price display on my forms?

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  2. David Peralty

    The CSS is specific to your form, not something that you can just copy and paste from others. Do you have a link to your form?

    Also, read through some of this as it would help you understand why each form is different and requires custom CSS - http://www.gravityhelp.com/documentation/page/Design_and_Layout

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  3. http://thebigclockstore.com/dev/?product=waterford

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  4. Looks like you need to be logged in to view the page? If you want you can privately send that to rob@rocketgenius.com and reference this post.

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  5. Hi Rob, I took off the "Under construction" so you can take a look at it now

    Posted 13 years ago on Monday May 14, 2012 | Permalink
  6. There is now a hook that can be used to manipulate OR disable the pricing information that appears on Option Pricing Fields.

    It is the gform_format_option_label javascript hook and documentation and a usage example for this hook can be found here:

    http://www.gravityhelp.com/documentation/page/Gform_format_option_label

    Posted 13 years ago on Monday May 14, 2012 | Permalink
  7. Do I add this to my site custom CSS? I'd like to disable the price and only show the option.

    Posted 13 years ago on Monday May 14, 2012 | Permalink
  8. It's not CSS, it's JavaScript. Take a look at Example 1 on that page link I provided, I believe that's what you are looking for. Since this is JS, you will need to appropriately place this script somewhere in your theme.

    Posted 13 years ago on Monday May 14, 2012 | Permalink
  9. I've added this to my gravityforms.js and it worked fine until the latest update. I downloaded the update and the script no longer works even after I've re-added it to the file. Any help?

    Posted 13 years ago on Saturday May 19, 2012 | Permalink
  10. You don't want to edit plugin files. You'll want to isolate the script to your theme, separately, so it doesn't get overwritten when updates come out. Try that out first.

    Posted 13 years ago on Sunday May 20, 2012 | Permalink
  11. Not quite sure how to do that. I'd appreciate any help!

    Posted 13 years ago on Monday May 21, 2012 | Permalink
  12. Take a look at this link here: http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 13 years ago on Monday May 21, 2012 | Permalink