First Screenshot: The screen shown as
"You haven't registered for the course."
Second Screenshot: The screen shown as
"You are registered for the following courses.
--------------------------------------------------
Course:
**Five Courses Lists**
For example, I want to create a visual text label that will display as 'You haven't registered for the course' when I haven't registered. Once the form is submitted and the course list appears, the text label 'You haven't registered for the course' should be hidden from view.
Yes, I did myself and find solved. Thank you!
No it's incorrect.
You have to copy the same expression that you set for not registered for any courses label and flip the true and false values. Write false in place of true and write true in place of false.
So the screenshot that you showed.
Remove the rectangle, the label: "You are registered for the following courses" and the label : "Courses" from the visible property.
Keep only 89, 90,91, 94 and 95
I hope this helps 🙂
Am I correct?
On the registered for the courses label, rectangle and the courses label.
Set the following visible property:
If(IsBlank(Label1)&&IsBlank(Label2)&&IsBlank(Label3)&&IsBlank(Label4)&&IsBlank(Label5),false,true)
I hope this helps 🙂
@Sundeep_Malik, those some of them are working, but there's one issue with the text input and the rectangle as well. I have two screenshots.
When it shows 'not registered,' nothing else should be visible, such as 'You are registered for the courses,' 'Courses,' and the rectangle shape. Thank you.
So you try the following thing:
On the Not registered label.
Set its visible property to the following:
If(IsBlank(Label1)&&IsBlank(Label2)&&IsBlank(Label3)&&IsBlank(Label4)&&IsBlank(Label5),true,false)
On registered Courses:
Set visible property to the following:
If(IsBlank(Label1)&&IsBlank(Label2)&&IsBlank(Label3)&&IsBlank(Label4)&&IsBlank(Label5),false,true)
By this if there are no courses selected the Not registered would be visible.
If one course or more courses are selected the registered courses will be visible.
Replace Label1,... Label5 with your respective labels.
I hope this helps 🙂
let me show. 🙂
Can you give me a brief how it is working?
Like you are filling a form and then in the next screen you are showing courses that were selected in a type of combobox or something.
And is there a single label or multiple labels to show the courses on the next screen.
Hi @Sundeep_Malik. No, I am using each text labels. I don't have gallery for that. 🙂
Hey @dylandavis09
I hope you are using a gallery to show the courses.
You can try the following technique:
Take a label: In the text property of the label write: You haven't registered for the course
In the visible property of the label. You can write a count function like below:
If(CountRows(GalleryName)>0,false,true)
I hope in the gallery you have given a filter of current user's courses.
And then you can take another label that will store a value for courses registered and if above count >0 then set its visible property to true otherwise false.
I hope this helps 🙂
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,083
Most Valuable Professional