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 Platform Community / Forums / Power Apps / Default Text - How to ...
Power Apps
Unanswered

Default Text - How to stop default overwrite of text fields

(0) ShareShare
ReportReport
Posted on by 1

Hello,

 

Context: I am developing an app, the intent of which is to allow users to Submit Documentation via a form which has fields that are connected to columns in a sharepoint list. Several of these fields are Rich Text Editor boxes with Default Text of HTML code that creates a table which can be edited by the user. One of the functionalities i am trying to create, is to allow the user be able to save their spot when filling out a form, in order to revisit or have another user contribute before submitting. This is accomplished currently using a Status (choices) column, with status's such as "ID Reserved" (Default value) "Drafted" and "Submitted". When the user has drafted their information, and wish to save their spot, they use a button that patches the status to Draft and then submits the form, thus saving their info. this works fine, but, when a user revisits the page with drafted information, the default values in several of the fields is replacing the information populated by the user.

 

I have tried the formula below to no success; 

 

If(IsBlank(Parent.Default),"Default Text (HTML Table)", Parent.Default)

 

The formula does not give an error, but it does not appear to actually do anything different than just having the table. 

 

If any additional information is needed I am happy to provide. I am new to powerapps and appreciate any assistance that can be offered.

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Zb91 

    Consider using the Coalesce function instead of the If().  This function evaluates each element in series and returns the first nonblank or nonempty value. Any number of elements can be entered until the first nonblank one is encountered. 

    For example, when the form is in new mode Coalesce(Parent.Default, "Something else") will put "Something else" as the value as there is no parent.default value in a new form, but if the form is in edit mode, then there will be a Parent.Default and it will be entered as the value. 

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