cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AshishJaiswal
Super User
Super User

Show unsaved field in form

Hi Experts,

 

How to show unsaved field in forms

 

when user edits a blank text input field 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
AmDev
Super User
Super User

Hi @AshishJaiswal 

 

OK, for a new form with blank fields you can add this to the border colour: 'If(IsBlank(Self.Text), DimGrey, Blue)'

 

.. and just interchange your colours accordingly to suit your preference

View solution in original post

3 REPLIES 3
AmDev
Super User
Super User

Hi @AshishJaiswal 

 

Reza Dorrani has an excellent video on this which covers the scenario of flagging that the form is unsaved as well as highlighting fields that have been changed.

 

Power Apps Forms - Updates, Unsaved & Submit Confirmation - YouTube 

AshishJaiswal
Super User
Super User

@AmDev 

Already seen the video 

 

I need to know how to know for textinput 

as when the user click on to edit the form 

textinput will be blank

once he enters something then it should change the border color 

 

please advise how to handle a blank or empty textinput condition 

AmDev
Super User
Super User

Hi @AshishJaiswal 

 

OK, for a new form with blank fields you can add this to the border colour: 'If(IsBlank(Self.Text), DimGrey, Blue)'

 

.. and just interchange your colours accordingly to suit your preference

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,674)