Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Restrict a form based on a parameter in another parameter form.

Posted on by 149

Hi Guys,

I want to restrict a form based on a NoYes parameter in my another parameter form, Can anyone please help me out. 

In my parameter form there is a find method for the data source of the parameter form.  I have been using this to enable disable other fields, but now I want to restrict the form based on a noYes parameter in my parameter form,

Thanks.

  • Suggested answer
    Apratim Profile Picture
    Apratim 149 on at
    RE: Restrict a form based on a parameter in another parameter form.

    Hi Girish,

    Thanks for the reply.

    I was asking for the form restriction based on parameter in some other form.

    I have solved the issue, I added an if condition in my form's init method calling super if my parameter is enabled and throwing an error in the else part.

    Thanks for such a quick reply. :)

  • GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 on at
    RE: Restrict a form based on a parameter in another parameter form.

    Hi Apratim,

    Are you asking how to enable disable fields in the form.

    Can you elaborate more on your question?

    Thanks,

    Girish S.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans