Announcements
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.
Regards, Dale
@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.
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
@DSFlemming The formula you have shown earlier - Where exactly is it? which control? which property?
That formula is on the default property of the text box in the card.
@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.
That makes sense, thanks. Now I have an interesting maths problem.
@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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135