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.

Way to Remove the "+" sign next to the price options

  1. IS there a way this can be done? I was using theis script `<script type="text/javascript">

    function gform_format_option_label(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId){

    //ignore all forms, except the one with ID = 5
    if(formId != 5)
    return fullLabel;

    //ignore all fields except the one with ID = 10
    if(fieldId != 10)
    return fullLabel;

    //changing label
    return priceLabel + " " + fieldLabel;
    }
    </script>`
    to try and edit that but I see it only rearranges the fields

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  2. The gform_option_label should be the answer here. Do you have a link to your form?

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  3. http://babesinsleepland.com/purchase/
    Thank you!

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  4. Also - can this function be added to the functions.php file instead of javascript in the header.php file - The only header.php file I have is in the Genesis framework files and those will be over-written with an update. Thanks!

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  5. What I would recommend here is to use the first example here: http://www.gravityhelp.com/documentation/page/Gform_format_option_label

    You can drop this into an HTML field on your form if you'd like.

    And then add your pricing to your option label if you want the actual pricing to show.

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  6. Oohhhhh. ok got it - thank you!!!

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  7. It did not work - when I add the code to the HTML field, it is automatically deleted when I update the form

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  8. Richard Vav
    Administrator

    That's a browser issue, sometimes when pasting into text fields it can be lost, can you try right clicking and from the context menu that appears selecting the paste as plain text option and see if that makes any difference.

    Posted 11 years ago on Thursday June 13, 2013 | Permalink
  9. I tried in both Chrome and FF and the only option I have is Paste. Neither browser saved the javascript in the form :(

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  10. Richard Vav
    Administrator

    To paste as plain text In chrome you can use the following Ctrl+Shift+V for windows or Command+Shift+Option+V for mac, if that doesn't work I am afraid you will have to go old school and type it in

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  11. Wow I am working on another site and decided to use the html block - and again, it does not save the pasted content! This is a serious issue - is it a glitch or??

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  12. OK thank you - did not see your earlier response. Command+Shift+Option+V worked great. Thanks again!

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  13. Richard Vav
    Administrator

    Glad to here that worked for you.

    Posted 11 years ago on Friday June 14, 2013 | Permalink

This topic has been resolved and has been closed to new replies.