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 / Updating contols in fo...
Power Apps
Answered

Updating contols in form edit mode

(0) ShareShare
ReportReport
Posted on by 119

Hello everyone,

 

I'm using a slider to update a texbox. When the form is New mode it works fine, however, when in Edit mode, my if statement doesn't allow the slider to update. The contol displays Parent.Defult, but I'd like to allow the field to be updated by the slider but not sure where my logic is failing. Any help would be apprecialted.

slider error.png

 

Regards, Dale

slider error.png
Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @DSFlemming In the Edit Mode you are always showing the default value. So, the slider has no effect.

    Set the default value of the slider to Parent.Default  (you may have to change the type to match that of the slider).

    Remove the If part from the formula you have shown above, so that both in the New & Edit modes the value from the slider will be taken.

  • DSFlemming Profile Picture
    119 on at

    Thanks CNT - that gets my slider working on the text box but Parent.Default is not in the text box when I open the form. Rather, it's the centre value of the slider. How do I change the type as you suggest? The parent of the datacard is sharepoint text field with the time string.

    Many thanks, Dale

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @DSFlemming The formula you have shown earlier - Where exactly is it? which control? which property?

  • DSFlemming Profile Picture
    119 on at

    That formula is on the default property of the text box in the card.

    DSFlemming_0-1627538409640.png

     

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @DSFlemming Cool!

    In this formula your taking the value selected in the Slider and converting it into a Time String.

    In the Value property of the slider you have to do the reverse process. Take the value in the Parent.Default and convert it to a number that represents it.

  • DSFlemming Profile Picture
    119 on at

    That makes sense, thanks. Now I have an interesting maths problem.

    DSFlemming_0-1627539061143.png

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @DSFlemming Yes you do! I thought you were Einstein's cousin! 😊

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard