Support

Account

Home Forums General Issues Select return value only, Both is set Reply To: Select return value only, Both is set

  • I concur. I am populating a select box with a generated id for the value and a text value for the label using a prepare_field filter. When I dump the field choices after the filter it is correct as is the HTML that is generated. However when I have the select field return both, it returns the id in both value and label. Even more, when I have the select field return the label, I get the value.

    Scratch that – I figured out what I was doing wrong. I should have been using the load_field filter not prepare_field. It works now.