Notifications
Announcements
Beginner question... A SharePoint list form has a 'number' input field, i need to limit the range that can be input into this field 0 - 100. Think that I need to add a function to the 'OnChange' action for the datacardvaluexx field??? ... but not sure of the context. I am sure it is a simple statement, but it eludes me. Is there any help for me out there?
@ghutchinsMicron You can do this in SharePoint itself.Edit the number field in the SharePoint list, go to more options and set a max value.
I hope this helps!
@LaurensM I am aware that this can be done in SharePoint. Want to do it in the app so that the error pops up right then and there if the user inputs 101. Dont want to wait until the form is saved to find out the number input was not correct.
@ghutchinsMicron with a form the error would show up when they try to submit.
If you want to show it directly after filling in a number, please try this code on the OnChange of the field:
If( Value(Self.Text) > 100, Notify( "Value cannot be more than 100", NotificationType.Error ); Reset(Self) )
Yes... that is what I was requesting. Thanks
Hello Lauren, I am stuck in one condition. i have 02 forms one is for users who enter the required quantity and 2nd is the view form that I want to apply the condition that users can not increase the quantity based on the required quantity however they can issue less quantity.
Required Quantity-DataCardValue32
Issued Quantity- DataCardValue58
Please help me
Please help
It has been resolved by applying the below formula on data card value on change properties.
If( Value(DataCardValue32.Text) <= Value(DataCardValue58.Text), Notify( "Value cannot be more than user requested QTY ", NotificationType.Error ); Reset(Self))
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268