Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Mandatory Currency Field issue

Posted on by 85

I've TurnOver currency field that is mandatory, without filling data when I try to save the record System is showing message the TurnOver field is missed. but system is not redirecting or focusing on that field. However, I observed that all other type of fields are getting focused. that issue is appears only in Currency type field.

3225.crm-question.png

Appreciate your support.

Thanks

*This post is locked for comments

  • syed sms Profile Picture
    syed sms 85 on at
    RE: Mandatory Currency Field issue

    Gotam! setFocus is not good idea because system is not calling onSave event's function. System is validating mandatory fields before saving.

  • syed sms Profile Picture
    syed sms 85 on at
    RE: Mandatory Currency Field issue

    Hi Pravin thanks for you reply.

    Actually I tried myself that as well and called function at onSave, but the case is system is not saving the record that's why onSave event isn't called as mandatory field is not filled. This is not going to work.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Mandatory Currency Field issue

    Hi Shafi,

    If it's not working by default that means there should have some issue with release . I would prefer you to raise a ticket to Microsoft.

    Meanwhile try to do using JavaScript setFocus method.

  • Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Mandatory Currency Field issue

    Hi Shafi Muhammad Shah,

    I have faced same weired issue in crm online. However using custom js its working fine.

    You just need to setfocus in JS as shown below:

    Xrm.Page.ui.controls.get("logicalname").setFocus();

    Thanks

  • syed sms Profile Picture
    syed sms 85 on at
    RE: Mandatory Currency Field issue

    Hi Goutam,

    thanks for reply, I have tried that as well no luck.

    I found that issue under all entities if you have currency type field mandatory system will not focus to that field.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Mandatory Currency Field issue

    Hi Shafi,

    Could you please remove the field from the form and add  again , and make sure you are making the field requirement in the Field properties itself.

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

Featured topics

Product updates

Dynamics 365 release plans