Picture of Parent Variables in Invent | IV_Logic_008

Parent Variables in Invent | IV_Logic_008

In this section, the concept of parent variables is introduced, which allows for controlling the visibility of form elements based on the value of another variable within the form. An example demonstrates how enabling or disabling a parent variable can make a child variable visible or hidden. The setup involves associating a child variable with the parent variable and specifying the condition under which the child variable will be visible. This feature can work with boolean values or other types of variables, such as dropdown lists.

Tutorial Video Transcript

A transcript of our tutorial video, ensuring you can find exactly what you need, when you need it.

You can search this page to find the relevant time-stamp in the video. Also, this text can be used as part of the tutorial search feature.

00:00:06:03 - 00:00:06:17
Okay.

00:00:06:17 - 00:00:10:02
The final quick thing to show before we do
move on to the actual logic screen.

00:00:10:02 - 00:00:13:27
So the main part of the webinar is parent
variables.

00:00:13:28 - 00:00:15:28
This is a really small section.

00:00:15:28 - 00:00:18:18
but it can be very, very useful.

00:00:18:18 - 00:00:23:17
It's a great tool for allowing you
to control the visibility of certain,

00:00:23:26 - 00:00:27:09
elements on your, on your, in them form

00:00:27:18 - 00:00:32:15
based on the value of another variable
within that form itself.

00:00:33:13 - 00:00:36:13
So let me show you an example.

00:00:39:10 - 00:00:41:15
easiest again in my reference document.

00:00:41:15 - 00:00:45:15
So this isn't actually doing anything
on the product itself at all.

00:00:45:15 - 00:00:47:09
It's all within the form.

00:00:47:09 - 00:00:51:16
So what I've got set up here
is a parent variable and a child variable.

00:00:51:27 - 00:00:54:27
And what you can see
is that when I enable the parent variable,

00:00:55:01 - 00:00:58:01
the child variable becomes
visible and selectable.

00:00:58:04 - 00:01:01:17
However, if I disable the parent variable
the opposite happens.

00:01:02:22 - 00:01:04:22
Now again setting this up is quite simple.

00:01:04:22 - 00:01:06:22
You've just got to know where to do it.

00:01:06:22 - 00:01:09:22
So if I go back to invent.

00:01:11:09 - 00:01:13:05
Go to my variables and you'll see

00:01:13:05 - 00:01:16:25
in my variables hopefully should be quite
small on your screen.

00:01:16:25 - 00:01:19:16
Unfortunately I've got two variables.

00:01:19:16 - 00:01:21:20
I've created ones called parent variable.

00:01:21:20 - 00:01:23:14
One's called child variable.

00:01:23:14 - 00:01:24:15
You don't need those names.

00:01:24:15 - 00:01:27:08
That's just what I'm using for clarity

00:01:27:08 - 00:01:27:26
in order to.

00:01:27:26 - 00:01:29:28
And what we're doing here
is actually associating

00:01:29:28 - 00:01:34:06
one of those variables
with a value of the other variable.

00:01:34:29 - 00:01:38:04
So if I go into my child variable and.

00:01:42:13 - 00:01:43:14
What you'll see right

00:01:43:14 - 00:01:47:14
at the top of the list of settings
there is, you've got this parent section.

00:01:48:06 - 00:01:51:06
And you can say enable parent variable

00:01:51:26 - 00:01:54:06
selects
the variable that you want to associated

00:01:54:06 - 00:01:57:16
with it, or the variable
basically that you want to control it.

00:01:58:05 - 00:02:01:15
And then you specify under
what condition of the parent

00:02:01:16 - 00:02:04:21
variable is the child variable
going to be visible.

00:02:05:17 - 00:02:08:06
Now in this case
I've just connected it to a boolean.

00:02:08:06 - 00:02:10:08
So it's only going to be true or false.

00:02:10:08 - 00:02:12:28
So I can specify here
whether the condition to show this

00:02:12:28 - 00:02:16:25
variable is
the parent is true or the parent is false.

00:02:17:29 - 00:02:19:07
Doesn't have to be a boolean.

00:02:19:07 - 00:02:24:07
You can specify it against a dropdown
list, for example where it's visible.

00:02:24:07 - 00:02:27:07
If a certain value is selected
in the dropdown list.

 

Incomplete
Guide unavailable