22
Views
4
Comments
Solved
Disable specific textfield based on dropdown
Question

when the user choose Self drive, i want the driver textfield/dropdown to be disabled. but i dont know how to do it. help me. The booking form is in Bookings Detail

FBS.oml
Solution

Hello Azfar 

I have attached an oml based on your requirements. 

Please check and let me know if it worked.

Thanks 

Anees


FBS (disablenew).oml
Champion

Hi @Azfar Aiman 

Just put condition on driver drop down enable property to achieving this.

For ex- Type is entity which holding records like self driver

Suppose you use TypeId variable in Type drop-down 

Condition - TypeId<>Entities.Type.SelfDriver

Hope it helps you

Arun

Hello @Azfar Aiman,

Steps to do this:

1- Create one local variable of boolean type, for example: IsDriverShow.

2- Now in On change event "OnChangeDropdown", you can assign " IsDriverShow"  value to True when you select other than the type "Self driver" .

Hope this helps.

Regards,

Deepika

Hi @Azfar Aiman ,

Just set the enable  property of driver dropdown like this.


Hope it's help you

Pawan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.