Can we Configure Entity form Metadata based on some condition? like based on field value in Dynamics Portals
Can we Configure Entity form Metadata based on some condition? like based on field value in Dynamics Portals
hello can you advise how you solved it please?
Thanks for the reply, As per my requirement i want to make fields mandatory based on some field value, I have implemented this using Jquery - by pushing the fields in to the validator. But its not working some time i don't the reason, when i try to debug its working fine.
Is there any way i can make fields mandatory dynamically without Code.
No.
But, you could either, set it via Workflow/Flow/plugin (if its needed for the next step, a real-time workflow or plugin) or use a conditional step to branch to different steps and on those steps set metadata (this would assume you have a small number of possible values). Generally, I would use real-time Workflow.
You can configure different types of metadata on entity forms. Metadata can be used to change/add labels/text on entity form or they can be used to prepopulate or save a default values. In either case the short answer to your question is no , you can't configure conditional entity form metadata.
If you want to show different text/html on an entity form based on field values you can use javascript.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156