- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 10:32 AM
Hi,
In Catalog item if i select something then some of the variables should be read only.
If i select anything from Registered vehicles then Brand, place of registration, plate number, vehicle color is auto populating.
Here i want to put all those fields Read only if and only if i select Registered vehicles drop down is something.
Please explain me how we can achieve the same.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 11:05 AM
Hello @kranthi2
Yes you can achieve this by using simple UI policy in which you just have to add the condition with is not empty and in the UI policy action add your all the variables and make them as read only true and that's it, this will result in your exact requirement i.e. all your variables will be read only only when any value has been selected in "Registered vehicles" variables and not for other conditions.
Please refer the below image:
Let me know your views on this and Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 11:05 AM
Hello @kranthi2
Yes you can achieve this by using simple UI policy in which you just have to add the condition with is not empty and in the UI policy action add your all the variables and make them as read only true and that's it, this will result in your exact requirement i.e. all your variables will be read only only when any value has been selected in "Registered vehicles" variables and not for other conditions.
Please refer the below image:
Let me know your views on this and Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks,
Aniket

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 11:26 AM
If your other data is populating through client script then you can add code to make fields read only in client script itself. if data is populating from lookup concept then writing UI policy is good. both method are simple and straight forward. I insist you to dig into this and do it by yourself.
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 10:24 PM
@kranthi2 If my response has helped you in any way please mark my response as accepted as well.
Regards,
Musab