cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
azzamkaz
Level: Powered On

formula not working on mobile apps

 

Capture.PNG1Capture2.PNG2Capture3.PNG3Capture4.PNG4Capture5.PNG5

 

 

 

Hello Guys...I'm creating a voting apps....the flow you can see on picture above....this screenshot is running on desktop....the problem is WHEN APP RUNNING ON MOBILE PHONE.... the page 4 (pic4) the nomination name that we selected on previous page(page My nominee) on radio button list not appear on page 4......

 

on picture 5 problem is the name not appear on the box... (when display on mobile phone)

 

code at radiobutton on page 3:-

property OnChange : 

UpdateContext({selected: Radio1.Selected.Value})

 

code at lable on page 4:-

property Text  on TextInput: 

Radio1.Selected.Value

 

 

what throubleshoot can I do?

This apps will launch soon.....really need help and direct solutions....ASAP thank you

 

 

CC:  @CarlosFigueira @Jeff_Thorpe @Shanescows  @Anonymous @dinusc  kindly appreciate your responds   Smiley Very Happy

 

6 REPLIES 6
Community Support Team
Community Support Team

Re: formula not working on mobile apps

Hi,

 

 

So the situation here is, the text would be displayed correctly when using PowerApps Studio in Web, but not under Mobile devices?

 

Take a try to switch UpdateContext() function with the Set() function.

 

For example, replace 

UpdateContext({selected: Radio1.Selected.Value})

with:

Set(Selected, Radio1.selected.Value)

then, use the Selected varibale under the Default property of the TextInput.

After that, withe the CONFIRM button OnSelect property, add the following part

 

Set(Selected, blank() )

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
azzamkaz
Level: Powered On

Re: formula not working on mobile apps

@v-micsh-msft  thanks you for your reply

 

 I already replace the code and follow your suggestion....but It only appear on confirmation screen just for 1 second then the selected name dissapear...how do I make it the selected name still there until the user click the CONFIRM button ?

 

 

what should I do now sir @v-micsh-msft

thank you really apperciate your reply

Community Support Team
Community Support Team

Re: formula not working on mobile apps

Please put the 

Set(Selected, blank() )

At the end of the OnSelect property of the CONFIRM  button.

 

Under the Default property of the TextInput, put the following:

Selected

The Variable "Selected" will not change its value until the Confirm button has been pressed.

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
azzamkaz
Level: Powered On

Re: formula not working on mobile apps

@v-micsh-msft  thanks you for your reply

 

 I already replace the code and follow your suggestion....but It only appear on confirmation screen just for 1 second then the selected name dissapear...how do I make it the selected name still there until the user click the CONFIRM button ?

 

 

what should I do now sir @v-micsh-msft

thank you really apperciate your reply

 

Regards,

azzam

azzamkaz
Level: Powered On

Re: formula not working on mobile apps

@v-micsh-msft 

the selected data inside TextInput only appear few second... what should I do?? 

 

 

azzamkaz
Level: Powered On

Re: formula not working on mobile apps

@v-micsh-msft

 

It's work sir....but on mobile still the same....not appear when I run the apps on mobile....

When I test run on desktop web it's working.....

any other suggestion to solve my problem sir?

 

Regards,

Azzam

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 198 members 5,671 guests
Please welcome our newest community members: