Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Personalization for re...
Finance forum
Answered

Personalization for required fields not working

Posted on by 158
Hello:
I noticed today the ability to mark a field on the dialog form to create a new record (e.g., HcmWorkerNewWorker) does not work out of the box. The field appears to be marked required with the red asterisk but code seems to drive what is truly required and enables the action buttons. While on dialogs such as SalesCreateOrder, marking fields required appears to work OOTB. I guess in part I'm looking for confirmation of what I'm seeing, while also asking if there's a config or minor customization which would enable the dialog to honor the personalized required fields. 
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,696 Super User on at
    Personalization for required fields not working
    Hi,

    Thanks for your reply. I marked one of the replies from Judy for you. 

    PS. If you are interested, I wrote a blog about the required fields function before: How mandatory is required? - Dynamicspedia
  • CU29041349-0 Profile Picture
    CU29041349-0 158 on at
    Personalization for required fields not working
    Thank you, Judy/Andre.
    I think it's clear now that depending on how the creation form was built, it may not be able to take advantage of the out of the box functionality to require a field. 
    @Judy, feel free to make one of your response as an answer. I'm not able to as the browser just spins forever. 
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,696 Super User on at
    Personalization for required fields not working
    Hi,
     
    This is due to the form design. The name controls are not bound to a data source table field. Then they can be skipped upon validation. When you close the creation form, then it will put the values in the fields in several tables.
  • Verified answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    Personalization for required fields not working
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Personalization for required fields not working
    Hi, I have checked the code that hire button is enabled when the EmploymentStartDate field is not null. 
  • CU29041349-0 Profile Picture
    CU29041349-0 158 on at
    Personalization for required fields not working
    Hi Judy,
    Please see screenshots below. I set 'Last name prefix' as required. Fill in first name and start date, and I'm able to click Hire. The form doesn't catch the Last name prefix is empty. 
     
     
  • CU29041349-0 Profile Picture
    CU29041349-0 158 on at
    Personalization for required fields not working
    Emmanuel,
    Yes, by personalization, I mean I made the field required (rt click > personalize > check required) on the HcmWorkerNewWorker form. I set the 'last name prefix' for testing because it's not required. 
  • Suggested answer
    O.Emmanuel Profile Picture
    O.Emmanuel 28 on at
    Personalization for required fields not working
    Hi,
    If the field is a personalized field, have you explored the possibility of making the field required?..
     
    BR,
    Segun.
  • Judy Profile Picture
    Judy Microsoft Employee on at
    Personalization for required fields not working
    Hi, can you please provide more details about your issue. Since I have checked my demo environment, the required field worked on the HcmWorkerNewWorker page.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans