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 :

How to validate weather the number is Positive or Negative in Canvas Application

Ram Prakash Duraisamy Profile Picture Ram Prakash Duraisamy 2,287

Introduction: 

 

In this blog we will see how to check weather number is POSTIVE or NEGATIVE in CANVAS APP

 

Implementation Steps:

 

1. Navigate to https://make.powerapps.com

 

2. Click Apps --> Click New --> Select Canvas App --> Choose Tablet/Phone based on your needs --> Enter name and Click Ok

 

3. Add Label and Name it as INPUT NUMBER

 

4. Add Text Box and Change format to NUMBER (Name it as txtnumber)

 

5. Add Submit Button

 8284.png

 

6. On Select of Submit Button Write Below Code

If(Value(txtnumber.Text)>0,Notify("Enter Number " & txtnumber.Text & " is Positive",NotificationType.Success),Notify("Enter Number " & txtnumber.Text & " is Negative",NotificationType.Success))

Testing:

 

Input Number : 5 and Submit

0172.png

Input Number : -5 and Submit

0871.png

Comments

*This post is locked for comments