aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_69
diff options
context:
space:
mode:
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