web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Quick Create required fields

(0) ShareShare
ReportReport
Posted on by 8,270

Hello guys!

As default I only have 2 required field defined as "business required" then by business rules I set some more as required according to some other fields.

The point is that I need that all the "quick create" fields be required, but I can't set business rules for that form or fields. And I can't set as required fields by default because some business rules won't work right.

Is there a workaround here?

Thanks guys!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Saumil Sh Profile Picture
    1,365 on at

    Hi,

    check the quick create forms for the entity and than make fields required over there.

    Quick create and normal creation forms are different in the system.

  • Verified answer
    Vijay Waghmare Profile Picture
    on at

    Hi,

    I guess business rule apply only for “Main” and “Mobile” form. Entity Business Rule window does not include “Quick Create Form” to apply any business rule.

    But to accomplish you functionality, you can register an on load event to “Quick Create form” to set fields on form as required using Javascript like below

    Xrm.Page.getAttribute("attrname").setRequiredLevel("required");

    Or you can edit the "Quick Create Form" and mark field as required but as you don't want fields as required by default you can achieve this using JS either by using on load/on save event or onchange event of any field.

    Thanks,

    Vijay Waghmare

  • RaulOcana Profile Picture
    8,270 on at

    Hi,

    I'm not very js friendly well I don't like to "code" for a solution and end with tons of code to maintain but it worked well...

    thanks Vijay.

  • KittenFace Profile Picture
    on at

    You can't add JavaScript to an Quick Create form

  • Suggested answer
    Peter Bohn Profile Picture
    on at

    hi kittenface

    of course you can.

    this is what i do the whole time

    gr.pebo

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#1
SA-08121319-0 Profile Picture

SA-08121319-0 2

#1
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans