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 / Automatic choice in a ...
Power Apps
Answered

Automatic choice in a form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I am now working on a form for my company. I am wondering is there a function that after the user type on the number in a box, other box will be automatically tick for the user. For example, in the attached image, after I type the number, the app will automatically determine whether the 'Thread Checking' is satisfactory or not according to the range I set. Thanks a lot.

form filling.JPG
Categories:
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    Hi @Anonymous ,

    You did not say which box (drop-down?) needed to be populated or which were being compared (the two on the left with the one at right?), but the Default of the Drop-down (I assume it is not a combo box) would be something like

    If(
     Value(YourThirdBox.Text) > Value(YourFirstBox.Text) &&
     Value(YourThirdBox.Text) < Value(YourSecondBox.Text),
     "Satisfactory",
     "Whatever . . . ."
    )
    

     

    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.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

    Might I know where should I write the above code? Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

    Sorry for insufficient information given. I would like the RHS Thread to be in the range of 220-250 while LHS Thread within 300-350 so the thread checking will be satisfactory, otherwise, unsatisfactory. 

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

    Hi @Anonymous ,

    Default of Drop-down (I assume it is not a combo box)

    If(
     Value(YourRHSBox.Text) > =220 && Value(YourRHSBox.Text) <=250 &&
     Value(YourLHSBox.Text) > =300 && Value(YourLHSBox.Text) <=350,
     "Satisfactory",
     "Unsatisfactory"
    )

     

    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.

    Visit my blog Practical Power Apps

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    default.JPG

    Hi @WarrenBelz ,

    I typed in default but there is no response. 

  • Bipin D365 Profile Picture
    971 on at

    Hi @Anonymous ,

     

    What is the Item property of Thread Checking Dropdown?

     

    I assume it is not of Text and that is why you see error. Please hover on Error X to see the error message.

     

    You could also click on App checker to see the error message as highlighted below -

     

    bipinshan_0-1640681319391.png

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: https://xrmdynamicscrm.wordpress.com/

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

    @Anonymous ,

    You are referring to the data card - you need to refer to the text box.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz @bipinshan ,

    I just changed all three box's property to be Text, and referring to the text box. After I typed in the Default of the drop-down, and click to other area, and then click back, the things I type in default disappear.

     

    Inkeddefaultdefault_LI.jpg

    Inkeddefaultdissapear_LI.jpg

     

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

    @Anonymous ,

    I am assuming the control is a drop-down (not a Combo Box as it needs DefaultSelectedItems). Make the Items of the Drop-down

    ["Satisfactory","Unsatisfactory"]

     

    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.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz ,

    I can not type in both Items and DefaultSelectedItems. After I typed, it will revert back to the original setting. I'm not sure if it is relevant but my form is connect to microsoft list.

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard