aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_69
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-03-22 19:01:54 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-03-22 19:01:54 +0300
commit3501449dc7c7bf0ae9709f8a94872f427f07e93d (patch)
treeb587e34b976c81359d1a00624a0842d24e4cf4e1 /Lessons/Lesson_69
parent3b5a484c9b99f1b80bcb4398d43519b00a02fb6b (diff)
downloadUEFI-Lessons-3501449dc7c7bf0ae9709f8a94872f427f07e93d.tar.gz
UEFI-Lessons-3501449dc7c7bf0ae9709f8a94872f427f07e93d.tar.bz2
UEFI-Lessons-3501449dc7c7bf0ae9709f8a94872f427f07e93d.zip
Update lesson 69
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons/Lesson_69')
-rw-r--r--Lessons/Lesson_69/README.md12
-rw-r--r--Lessons/Lesson_69/SuppressIf_oneof1.pngbin6788 -> 7291 bytes
-rw-r--r--Lessons/Lesson_69/SuppressIf_oneof2.pngbin7291 -> 6788 bytes
3 files changed, 7 insertions, 5 deletions
diff --git a/Lessons/Lesson_69/README.md b/Lessons/Lesson_69/README.md
index 8ad2719..189e1de 100644
--- a/Lessons/Lesson_69/README.md
+++ b/Lessons/Lesson_69/README.md
@@ -1,12 +1,12 @@
In this lesson we will look at several built-in VFR conditionals.
-Before we go deep into this new keywords, let's look one more time at our form:
+Before we go deep into these new keywords, let's look one more time at our form:
![Before](Before.png?raw=true "Before")
Remember it as a reference as we would change the look of our form in this lesson.
-Also each of the built-in`s in this lesson work with a conditional statement. But we want to show how the element works, so we would simply use a constant `TRUE` in the place of a conditional.
+Also each of the built-in\`s in this lesson works with a conditional statement. But we want to show how the element works, so we would simply use a constant `TRUE` in the place of a conditional.
# suppressif
@@ -33,13 +33,15 @@ After that the form would look like this:
![SuppressIf](SuppressIf.png?raw=true "SuppressIf")
+So the element simply has become invisible for the user.
+
One more use of `suppressif` is in the fact that you can hide options inside the question.
-For example currently our `oneof` question looks like:
+For example currently our `oneof` question looks like this:
![SuppressIf_oneof1](SuppressIf_oneof1.png?raw=true "SuppressIf_oneof1")
-But adding `suppressif` like this:
+But adding `suppressif` to the option 3:
```
oneof
varid = FormData.OneOfValue,
@@ -53,7 +55,7 @@ oneof
endoneof;
```
-Would hide the option 3 for the user:
+Would hide it for the selection:
![SuppressIf_oneof2](SuppressIf_oneof2.png?raw=true "SuppressIf_oneof2")
diff --git a/Lessons/Lesson_69/SuppressIf_oneof1.png b/Lessons/Lesson_69/SuppressIf_oneof1.png
index 5e4dc05..21388d2 100644
--- a/Lessons/Lesson_69/SuppressIf_oneof1.png
+++ b/Lessons/Lesson_69/SuppressIf_oneof1.png
Binary files differ
diff --git a/Lessons/Lesson_69/SuppressIf_oneof2.png b/Lessons/Lesson_69/SuppressIf_oneof2.png
index 21388d2..5e4dc05 100644
--- a/Lessons/Lesson_69/SuppressIf_oneof2.png
+++ b/Lessons/Lesson_69/SuppressIf_oneof2.png
Binary files differ