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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Custom Validation mess...
Power Pages
Unanswered

Custom Validation message combined for OOB range validation error message and validation error message

(0) ShareShare
ReportReport
Posted on by 6

Hi, 

I have a non-currency fields(decimal number, floating point number) on my form in portal and while entering incorrect data(a or -10) so I am getting two OOB messages - Field must be a valid floating-point value and second as Field must have value between 0.00 and 1,000,000,000.00.

I want both of the messages to get combined and I can get only one validation message.

I have tried writing custom validation message in JS but every time I click on Submit nothing happens.

 

Categories:
I have the same question (0)
  • domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    hi @CoSonate1 ,

     

    Can you provice a screenshot of the ootb validation error message displayed twice?

     

    Cheers,

    Dom   

  • Lucas001 Profile Picture
    2,555 Super User 2026 Season 1 on at

    Hi @CoSonate1,

     

    how did you set up your message?

    Do you want to use console.alert or rather a custom message? A code snippet would be helpful.

     

    What usually seems to be a good way to do what you might want to achieve is create a separate container html element, set up your message as box etc. and if the user types in some incorrect data for validation use the onChange-trigger with jQuery add a Class show and display your message that way. You can either set it up with a close button or  a setTimeout and let it fade out after a specific time.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
11manish Profile Picture

11manish 40

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 36 Most Valuable Professional

Last 30 days Overall leaderboard