Dropdown option hide and show (v2023)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
dheeksha2511
User
Posts: 10

Dropdown option hide and show (v2023)

Post by dheeksha2511 »

In edit page i have one selection field. I try to hide some options in that field based on the field value which is already available in db.
for example:
in case that selection field contains data like (CSK,RCB,RR,SRH,KKR,CUP) means, if the selected value is CUP means i want to hide RCB. This is what i want to try.
Please help me out ..
Thanks!.


mobhar
User
Posts: 11790

Post by mobhar »

You may simply use Lookup_Selecting server event.


dheeksha2511
User
Posts: 10

Post by dheeksha2511 »

I'm not using lookup table, I'm using the select options with value and label.


arbei
User
Posts: 9501

Post by arbei »

You may search "addoption" in this forum.


Post Reply