Experts,
I have an image on a page with onselect set to nextpage navigation.
If the following conditions are satisfied, just the image B should be clickable; else, the image B should be grayed out.
Condition .
Page A is the name of the first page . Label 13 may be found on page A.
The current state is. If the wording on Label3 is 100%, then only picture B on page 2 should be engaged for any actions. Image B should be grayed out if label3 is not equal to 100%.
The following formula is used in picture B, however it is ineffective.
If('page A' = Label13.Text(100%) )
Please share your ideas.
Solved! Go to Solution.
Yes, you will get an error on that because the syntax is not correct. I provided you with the correct formula:
If(Label13.Text = "100%", Edit, Disabled)
Copy and paste the formula into your DisplayMode. I am not sure why you modified it. Controls are global to the app, the page reference you have in not needed. And text must be surrounded by quotes. Plus, your logic you mentioned indicated that if the label shows 100% then the image should be actionable. Yours is backward.
Copy and paste the above formula.
If(Label13.Text = "100%", Display Mode.Edit, Display Mode.Disabled)
Look to the DisplayMode property of the Image.
Set it to:
If(Label13.Text = "100%", Edit, Disabled)
I hope this is helpful for you.
thank. But i am getting error,
If('page A',Label13.Text=100%,DisplayMode.Disabled)
Is there any issue in this.
Yes, you will get an error on that because the syntax is not correct. I provided you with the correct formula:
If(Label13.Text = "100%", Edit, Disabled)
Copy and paste the formula into your DisplayMode. I am not sure why you modified it. Controls are global to the app, the page reference you have in not needed. And text must be surrounded by quotes. Plus, your logic you mentioned indicated that if the label shows 100% then the image should be actionable. Yours is backward.
Copy and paste the above formula.
Thank you, @RandyHayes
It appears that I am overlooking the following points.
I've got two pages.
Page A and Page B are two pages.
Page A has the Percentage( percent ) information, whereas Page B contains the images.
So, based on the Page A percent changes, the Page B picture should react as previously stated.
As a result, I attempt to include the Page A data in the Page B picture Displaymode.
If(Label13.Text = "100%", Display Mode.Edit, Display Mode.Disabled)
Thank you @RandyHayes . I missed your valid point. Yes you spot on. Many thanks indeed.
User | Count |
---|---|
256 | |
107 | |
90 | |
51 | |
44 |