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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2013 - Number / Currency Field Validation Message Appearing Twice

(0) ShareShare
ReportReport
Posted on by 130

Hi,

I am facing a problem with the validation of number and money fields in CRM 2013 SP1 and CRM 2013 UR1 for SP1.

When inputting a value outside the field range, the validation alert message (JavaScript alert) is appearing twice (2 consequent alerts on field change) or more (up to 6 consequent alerts on form save).

On any form, that does not even include any custom Web resources or customizations, e.g. on Invoice, I could reproduce the following:

  1. Input number 999 in field (Discount %), which only accepts numbers between 0.00 and 100.00
  2. Press TAB (or move the mouse focus to a different field)
  3. The validation message “You must enter a number between 0.00 and 100.00” appears
  4. Click Ok in the message alert
  5. The validation message “You must enter a number between 0.00 and 100.00” appears again
  6. Click Ok in the message alert
  7. The field (Discount %) is still filled by 999, with the notification message (“You must enter a number between 0.00 and 100.00”) next to the field label

What I need is to check whether this is actually a bug / wrong behavior in CRM 2013 and if anyone has also faced the problem, or not.

And if it is a bug, I would like to be guided to a working solution or any workaround that could prevent the validation alert message to appear more than one time, at least.

Note: While debugging the default CRM scripts, a focus is set to the parent form tab after the first alert, which seems to initiate the second alert.

Thank you.

*This post is locked for comments

I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at

    you wrote

    CRM 2013 / CRM 2013 SP1 / CRM 2013 UR1 for SP1.

    which exact version has this issue?

    did you try in other PC?

    did you try with other browsers?

  • Martine Aoun Profile Picture
    130 on at

    All the mentioned versions have the issue.

    Yes I tried on different servers, different PCs and different browsers (IE9, IE10, Chrome, Firefox); the issue appears even after deleting the IIS cache, browser cache and temporary files.

  • Martine Aoun Profile Picture
    130 on at

    Please note my edit: The problem is occuring for CRM 2013 SP1 and CRM 2013 UR1 for SP1 (not for CRM 2013 release).

  • Community Member Profile Picture
    on at

    Hello Martine,

    This doesn't seem to be an issue/bug with CRM.

    As the pop-up message clearly states "You must enter a number BETWEEN 0.00 and 100.00”, reason is because a 'discount' on an invoice/product cannot be more than 100% logically (or it will be considered free).

    Regards.

    Vineet Nair.

    Microsoft Dynamics CRM Support.

  • Martine Aoun Profile Picture
    130 on at

    Hello Vineet,

    My actual concern is about the validation message appearing more than once, not the fact that it is appearing in CRM. The alert message should at least appear one time in my case, not multiple times.

    Thank you.

  • Community Member Profile Picture
    on at

    Same problem here.

    CRM Server 6.1.0001.0132.

  • skhan Profile Picture
    120 on at

    I am having same issue CRM 2013 (SP1) 6.1.0.581. Any Solutions ??

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi, 

    I faced same issue at my end and resolved it successfully.

    Below are the few things for which you need to care.

    1. The range of currency field should be from negative to positive.

    8176.Untitled.png

    2. If you have any other currency field which is updating with your field than you need to make sure that the range of associated field should also be from negative to positive.

    Thanks

    Shrikant Sharma

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

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
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans