Can we display value in drop down based on conditions

In drop down  choice labels and choice value ..can we display value based on if conditions..

I need to display value in drop down based on the product availability..

And I have around 10 products

Can someone help with codes

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Can you provide some more details?  What are the logical conditions under which you're expecting to see different dropdown choices?  Are these conditions affected by other on-form elements (i.e. dynamically changeable by the user), or decided beforehand so the values on the form in question will be relatively static?  There are different implementation patterns depending on the answers to these questions (among others).

Reply
  • 0
    Certified Lead Developer

    Can you provide some more details?  What are the logical conditions under which you're expecting to see different dropdown choices?  Are these conditions affected by other on-form elements (i.e. dynamically changeable by the user), or decided beforehand so the values on the form in question will be relatively static?  There are different implementation patterns depending on the answers to these questions (among others).

Children