i have 2 quick question
how do i change the font size and color of a hint text in text property
and another question i have is
how can i have 2 if statement in a display mode of submit button?
see the picture below
it shows error currently
Solved! Go to Solution.
Hey @Jupyter123
For the Hint Text, it will have the same font size as of the normal text you want to enter in it. And the color cannot be changed.
For the two if statements, you just write && between them, if your require both of them to be true otherwise you can write || if you want it to be visible if one is true.
Something like below:
So, in your case it can be like:
OR Case:
If(
varCount < 3 ||
!IsBlank(TextInput1.Text)
,
DisplayMode.Edit,
DisplayMode.Disabled
)
And Case:
If(
varCount < 3 &&
!IsBlank(TextInput1.Text)
,
DisplayMode.Edit,
DisplayMode.Disabled
)
Hey @Jupyter123
For the Hint Text, it will have the same font size as of the normal text you want to enter in it. And the color cannot be changed.
For the two if statements, you just write && between them, if your require both of them to be true otherwise you can write || if you want it to be visible if one is true.
Something like below:
So, in your case it can be like:
OR Case:
If(
varCount < 3 ||
!IsBlank(TextInput1.Text)
,
DisplayMode.Edit,
DisplayMode.Disabled
)
And Case:
If(
varCount < 3 &&
!IsBlank(TextInput1.Text)
,
DisplayMode.Edit,
DisplayMode.Disabled
)
1. I think is not possible
2:
If(
Or(
varCount < 3,
!IsBlank(TextInput1.Text)
),
DisplayMode.Edit,
DisplayMode.Disabled
)
Btw you can write n conditions like
If(
condition 1,
do this,
condition 2,
do this,
condition n,
do this,
do this // else action
)
User | Count |
---|---|
261 | |
127 | |
101 | |
49 | |
47 |