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.

Custom Data for Radio Buttons

  1. relish
    Member

    Hi,
    Is it possible to hook into the field data of a product and add in a new property for radio buttons?

    I've hooked into gform_field_content and took a look at the field data and would like to add a new element for each radio button. In addition to text, value, isSelected, and price, I would like to add an inventoryLimit element.

    USE CASE:
    Each of these radio buttons represents a seminar for a time slot. Some of these seminars have limited seating and the client would need to be able to set a limit.

    I've tried hooking into gform_field_advanced_settings to create a new setting but that applies to the entire field and not specific radio button selections.

    Any help would be greatly appreciated.

    Thanks!

    Posted 11 years ago on Friday September 21, 2012 | Permalink
  2. I'm not sure how to do it as you describe it, but there is a Gravity Forms perk in the works which aims to do exactly as you describe, to limit choices like this. You might want to sign up for the Gravity Perks alpha (beta) here: http://gravitywiz.com/2012/03/03/what-is-a-perk/?from=perks

    I will bring this to the attention of the developer who is responsible for Gravity Wiz, David Smith.

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  3. Hi Relish,

    Let me know if you have any questions about the alpha! You can reach me at david@gravitywiz.com. :)

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  4. relish
    Member

    @Chris: Thanks for the direction.

    @David: The Gravity Perks look great! Thanks for the offer. Emailing now.

    Posted 11 years ago on Tuesday September 25, 2012 | Permalink

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