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 / hot to make components...
Power Apps
Unanswered

hot to make components inside a form talk with outside a form?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

i have a form with a displaymode.disable until the first combobox of this form(only this guy is displaymode.edit) is onchange.

this works fine. but i need to make the same with a label, two icons and a inputtext outside of this form and i dont found a way to take anything of inside de form (like onchange to change a variable for example, or change some behavior inside form to change a behavior outside of the form)

 how do i do that?

Categories:
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    What is the form mode? is it new or edit. are you trying to edit records? or just make new ones. is there a value in the item property of the form? 

    If you are not using a new form and do not have a valid item for the form sometimes this causes issues where the fields appear as though they are blank.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    this form is displayMode.edit, in the first combobox have values from a SP list like Choices column. 

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    whats the item property for the form and are you trying to edit a specific record if so how are you choosing that record ? is it a lookup, gallery or something else

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    let me try explain better.. i have a form wich comes with displayMode.edit. but in this form all fileds is displaymode.disable, in exception od the combobox1, in combobox1 i have some options, if i select the option 1 some specifics fields of the form must be change to displaymode.edit. at the same time i have a textinput outside of the form wath must be have the same behavior with especific selection of combobox1. all fields inside the form works fine but when i try to make the same with the textinput this dont work.

    in the combobox1 onchange property i have tryed with a variable(Set(variablechangeview;1)) and in displaymode of the textinput (if(variablechangeview=1;displaymode.edit;displaymode.disable))

    i was tryng to see the behavior of the variable, and i put a label outside of the form and the value dont change when i change the combobox1. if i try this inside que form works

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    take the test on your side.
    create a form with any field from any source that is a combobox with two options.
    in the onchange property, put this If(combobox1.selected.value=option1,set(vartest,1),set(vartest,2) and create a label out of this form and in the text property put vartest, the value should change but it doesn't happen . another attempt was
    in the inputtext property I put this
    If(
    !IsBlank(DataCardValue37.Selected.Value); //Combobox1
    Switch(
    DataCardValue37.Selected.Value;
    "value1";
    displaymode.edit;
    "value2";
    Displaymode.disable
    )


    on items inside the form it works but on items outside the form it doesn't

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard