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 Apps
Answered

validation issue

(0) ShareShare
ReportReport
Posted on by

Hi  All,

 

My requirment is when i click  the submit button it will show the validation like "Please Enter the text box ". My i know  How to created I fallow like this below 

 

onselect (if(!IsBlank(txtsecfunded.text),"Please enter the Secfunded"))

if(!isBlank(txtsecfunded.text),false,true).

 

But is not showing any validation.

Regards,

jayendra

Categories:
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi @jayendra

     

    In terms of validations, you could use a text label to test and then use the notification feature for the submit button.

     

    Create a text label and have the Text=if( IsBlank(txtsecfunded.text) , "this is blank" , "this is not blank")

     - This way during testing you can see easily if your IsBlank is working correctly

     - I see that you put !IsBlank in your example, which means if it is NOT Blank then ask them to insert information? I think this is meant to be just IsBlank as below:

     

    Once you have established that your formula is working as it was intended, you can then use the notify feature to display a notice to the user when they click the Submit button:

     

    onselect =
    if(
        IsBlank(txtsecfunded.text),
           Notify("Please enter the Secfunded", NotificationType.Error),
          SubmitForm(formname)
    )

    I set up a test example of this:
    image.png

     

     

     

    image.png

    Which was successful in Submitting the new value.

     

    If I change the check to IsBlank(Label2.text)
    image.png

     

    Hope this helps!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard