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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Notify error ever visible
Power Apps
Unanswered

Notify error ever visible

(0) ShareShare
ReportReport
Posted on by

The formula is:

 

If (IsBlank (Ddl_Gem) Or (IsBlank (Ddl_1) Or IsBlank (Txt_S1)), false, true, Navigate (Scr_InsertUpdate, Fade));
Notification ("Fill in the field", NotificationType.Error);
ResetForm (Form4)

 

But if the fields are filled in, the error is still displayed.

Please I need your help

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Please can you give a little explanation on what you are trying to achieve?

    Also where is this code placed, OnSelect of a button?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Power Platform Member Profile Picture
    on at

    HI Eka,

    the formula is in the on select property on the next button on screen 1
    When the fields of screen 1 are all filled in and I press the button, the error continues to be displayed.
    it allows me to navigate but brings the error message to screen 2.

     

    tnx

  • eka24 Profile Picture
    20,923 on at

    The formula has been updated;

    If(IsBlank (Ddl_Gem) Or (IsBlank (Ddl_1) Or IsBlank (Txt_S1),
    Notification ("Fill in the field", NotificationType.Error),
    Navigate (Scr_InsertUpdate, Fade));
    ResetForm (Form4)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    You are referencing the control in your IsBlank's.  You need to reference the Property of that control to determine if it is blank.  The control will never be blank, but its properties can.

    So, I will assume that the first 2 controls are dropdowns (with Value columns) and the last is a TextInput control.  In this case, and your formula would be:

    If(
     IsBlank(Ddl_Gem.Selected.Value) || IsBlank(Ddl_1.Selected.Value) || IsBlank(Txt_S1.Text),
    
     Notify("Fill in the field", NotificationType.Error),
    
     Navigate(Scr_InsertUpdate, Fade)
    );
    ResetForm(Form4)

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    on at

    With your formula the  button not navigate to screen 2 evenif the fields are filled

     

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    Whose formula are you referring to?  Mine or eka24's?

  • Community Power Platform Member Profile Picture
    on at

    Hi Randy,

     

    I have tried with your formula but can't get to screen 2

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    This would indicate that the criteria in the formula is only being met for the error condition.

    The formula, as written, will perform a Notify if ANY of the three controls is blank.  Is that the condition you are looking for?

     

  • Community Power Platform Member Profile Picture
    on at

    yes

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    So then if it is not navigating to Scr_InsertUpdate then one of the three conditions is blank.

     

    Can you provide some screenshots or formulas, or screenshots of formulas or something to show what is going on?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard