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.

Need v1.6.3.3 upgrade help to remove $price from Options drop down

  1. The initial thread I posted was here:

    Carl stated in the previous thread and in an email, is a feature that has been requested a few times so we are going to add it to the next development sprint that we will begin tomorrow and will get it included in the next release.

    Fortunately, I saw in the v1.6.3.3 changelogs that it appears the GF team has resolved the issue but I'm not sure how to implement it with a hook or filter.

    This was the feature they added in the recent upgrade:
    Added javascript gform_format_option_label javascript hook to allow option price to be manipulated or disabled.

    I wanted to get rid of the + $price in the options drop down and only show the label:

    I've submitted a Priority Support ticket and I'm sure I'll hear back today but trying to expedite and share the solution with the community.


    Posted 11 years ago on Thursday March 22, 2012 | Permalink
  2. Any updates on this? I would like to do the same.

    Posted 10 years ago on Monday October 8, 2012 | Permalink
  3. This filter was added. Please see this documentation for usage:

    Posted 10 years ago on Monday October 8, 2012 | Permalink
  4. Basic question here, do I add the filter code to gravityforms.js? I tried adding it to my functions.php file and it crashed the site.

    Posted 10 years ago on Tuesday October 9, 2012 | Permalink
  5. You should never modify any of the plugin files, including gravityforms.js. If the code you added crashed the site, then the code was likely formatted improperly. It probably had a syntax error or was added in the wrong place in the file. Can you please post the complete functions.php file to or, the one which crashes your site, and we can see what's gone wrong? Thank you.

    You can also add JavaScript code directly to your header.php (the head section of your site.) See here for instructions:

    Posted 10 years ago on Wednesday October 10, 2012 | Permalink