cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

how to change DataCardValue in a form ?

Hallo,

 

I'll try to explain my problem...

 

I have a form with a field "EXC". (form4 > EXC_DataCard1 > DataCardValue51)

I have too a label "Français" on the same page. (Label26)

 

How to update the text of my field "EXC" when I click on the label ? I want to add the value "Français" to the content of my field "Exc"... What should I put in the property "OnSelect" of my label ? (a picture is attached to explain...)

 

I have to use a variable ?

 

Thanks a lot 🙂

 

Audry

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Re: how to change DataCardValue in a form ?

Use a local variable to store the value in, Set this value on the select statement off the control (containing 'Français' ) and set the default value off the Textbox to that variable. Formula:

 

UpdateContext({EXC: SelectedField.Text})

When the field by default has a value then set the variable equal to this value at the OnStart or Visible property off the screen.

 

Hope this helps.

View solution in original post

1 REPLY 1
Highlighted
Resident Rockstar
Resident Rockstar

Re: how to change DataCardValue in a form ?

Use a local variable to store the value in, Set this value on the select statement off the control (containing 'Français' ) and set the default value off the Textbox to that variable. Formula:

 

UpdateContext({EXC: SelectedField.Text})

When the field by default has a value then set the variable equal to this value at the OnStart or Visible property off the screen.

 

Hope this helps.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,990)