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 / Add a 0 to a hidden field
Power Apps
Answered

Add a 0 to a hidden field

(0) ShareShare
ReportReport
Posted on by 901

Happy Tuesday!

 

When a user select a system from the drop down a number text field show up. But when then they select None would like to add a number 0 since is a required field.

What would the approach to Accomplish it

 

Capture.PNG

Capture1.PNG

 

Thank you in advance

Categories:
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try  Put in the default of the textbox or DataCardvalue:

    If (DropDownName.selected.Value="None",0,DropDownName.selected.Value)

     

  • oappdev Profile Picture
    901 on at

    That did the trick @eka24  Thank you so much 😎👍

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard