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.

Use text in notification for dynamically filled product dropdown

  1. I have created a form where the first item is a Product field (drop down).
    This field is pre_populated in my own code. It gets data from the current post (custom post type).
    Code can be found here; http://pastie.org/5611335
    When I receive the notification I get the value of the dropdown and not the text.
    I have not specified :value in my notification so this is strange.

    Any ideas?

    Posted 5 years ago on Wednesday January 2, 2013 | Permalink
  2. Are you using the gform_pre_render filter or the gform_field_value_$parameter_name to populate that drop down?

    Are you saying you are getting the displayed text that the user would see, not the value for that select option?

    Are you using the {all_fields} helper in your notification?

    Posted 5 years ago on Wednesday January 2, 2013 | Permalink
  3. I am using gform_pre_render to populate the dropdown.
    Both in {all_fields} and the specific merge tag the value is shown in the notitifaction and not the text in the dropdown.

    Posted 5 years ago on Thursday January 3, 2013 | Permalink
  4. I will send this topic to the attention of the development team to see if they have any thoughts. Thanks for your patience.

    Posted 5 years ago on Monday January 7, 2013 | Permalink
  5. I heard back from the development team and they mentioned sending you some suggestions for your code for an unrelated problem. Did that code help you resolve this problem as well?

    Posted 5 years ago on Monday January 7, 2013 | Permalink
  6. Hi,
    This is still not fixed. I am still getting the value instead of the text in my notifications.
    They indeed fixed the pricing for the dropdown but not the fact for which I have opened this topic. Can you ask again or should I open a new case?

    Posted 5 years ago on Monday January 14, 2013 | Permalink
  7. Please do open a new priority support ticket and reference this topic and the code they already sent you. They thought that code they helped with might have resolved both issues. I'm sorry to hear that it did not.

    Posted 5 years ago on Tuesday January 15, 2013 | Permalink