Hello,
I have a bit of a problem:
In my form on 8 of the screens, I have a different toggle on each screen, with Yes/No.
If its a Yes (true), it updates the Status dropdown to 'Requires further review'
If its a No (false), it updates the Status dropdown to 'No further review required'
I then have a hidden label on the screen, which is looking at the value of dropdown (DataCardValue162) on its text property:
DataCardValue162.Selected.Value = "Requires further review"
Then on the OnVisible of that screen I have:
If(Lbl_ReviewYes1.Text = "true", Set(ReviewYes1, Lbl_ReviewYes1.Text));
Then on on Screen2 I have the same set up , but looking at DataCardValue163, and the Lbl_ReviewYes2, is being set to ReviewYes2 and so on
I noticed if one of the Reviews are set to Requires further review, the label which is hidden, displays true, so that part of the logic is working, but when navigating away to other screens, it appears the OnVisible variable doesn't always get set.
So I thought the user is clicking the next button too quickly, so I've put a timer on the screen to show the next button 6 secs later.... I thought this fixed the issue, but didn't.
The problem I have is, if any 1 of the 8 screens have set yes to Requires Review, the code I have navigates all users to a Final Review screen, but sometimes what is happening is even though a further review is required, it navigates to the final screen as though it doesn't require a review and this is a problem.
I don't believe my next button code is where the problem is, and I'm fairly certain it's to do with the OnVisible variable set at each screen not always triggering.
Any ideas how I can fix/troubleshoot this please?