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 / SP Customize Form View...
Power Apps
Answered

SP Customize Form View and Edit Form not retaining values

(0) ShareShare
ReportReport
Posted on by 22

Using SharePoint Customize Form, everything is working great, except the text fields are not retaining their value based on the ComboBox1 above.

 

Conference Name is a ComoBox1 that is connected to a SP List called 'Test'.  When a selection is made from ComboBox1, the Location, Dates, and Charge No. DataCardValue will populate based on the selected Conference Name.

 

If "Other" is selected from Combobox1, then a hidden card will appear for the user to input a name of a conference that is not currently listed in the SP 'Test' list.

 

The new form works and saves all the data to the 'Test PowerApp list' correctly. However, when a I open to view or edit an item, all the below text fields are blank.

  • Other Conference Name Visible property - ComboBox1.Selected.'Conference Name' = "Other"
  • Location default - If(ComboBox1.Selected.'Conference Name' <> "Other", ComboBox1.Selected.'Conference Location')
  • Dates default - If(ComboBox1.Selected.'Conference Name' <> "Other", ComboBox1.Selected.'Conference Dates')
  • Charge No. default - ComboBox1.Selected.'Charge No'

What am I missing to retain the value of these DataCards? 

View-EditForm.pngOtherConferenceDataCard.pngLocationDataCard.pngLocationCard.pngNewForm.png

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,754 Most Valuable Professional on at

    Hi @Shannon503 ,

    That is because you are not displaying the current values in the Default (example for Location)

     If(
     ComboBox1.Selected.'Conference Name' <> "Other", 
     Coalesce(
     ComboBox1.Selected.'Conference Location',
     ThisItem.Location
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Shannon503 Profile Picture
    22 on at

    Hi @WarrenBelz ,

    I'm receiving an error message, and the field isn't populating now. I'm new to all this so thank you for trying to help me.

    noshow.pnglocationerror.png

  • WarrenBelz Profile Picture
    156,754 Most Valuable Professional on at

    Hi @Shannon503 ,
    Assuming the following

    • 'Conference Name' and 'Conference Location' are both fields in the Combo Box Table
    • Location is a Text field in your Data Source

    then that code certainly should not error - what in the above is incorrect ?

  • Shannon503 Profile Picture
    22 on at

    Hi @WarrenBelz 

    Correct. The 'Conference Name' and 'Conference Location' are in a SP list that is connected to the ComboBox1 (both single text fields). 

    And the 'Location' is a single text field in my other SP list collecting all the entered data from the Customized form. I'm trying to keep the form somewhat simple, but they requested the Conference details to be auto populated based on what is selected from the ComboBox1 (aka 'Conference Name').  

    combobox.pngSP list.pngConferences.png

  • WarrenBelz Profile Picture
    156,754 Most Valuable Professional on at

    @Shannon503 ,

    You are missing a closing bracket on that for a start.

  • Shannon503 Profile Picture
    22 on at

    Oh geez, yes that was it. Thank you!!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard