disable an option in a Form in iLogic

disable an option in a Form in iLogic

Anonymous
Not applicable
1,732 Views
3 Replies
Message 1 of 4

disable an option in a Form in iLogic

Anonymous
Not applicable

Hi everybody,

I have created a form in iLogic environment. When from Form one option of the “Cabintype” is selected, the last line must be disabled (photo 13).

How can I do it?

Thanks

 

0 Likes
Accepted solutions (1)
1,733 Views
3 Replies
Replies (3)
Message 2 of 4

JelteDeJong
Mentor
Mentor

hi,

you can do this by adding a "True/False" parameter (for example A2CabinSetter)

createparameter.png

 

 

 

 

 

and creating a iLogirule to set that parameter.

if (CabineType = "Type A") then
   A2CabinSetter= False
else
   A2CabinSetter= True
end if

when that is setup edit your forum and edit the "Enabeling parameter name" field. set this to the "True/False" parameter. (in my example "A2CabinSetter"). Then it should work.

set enableing name.png

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi,

if you check the photo, the parameter (for example A2CabinSetter) has been defined as Numeric.

Imagine I have 2 choices in the Form for Cabintype: A and B.

there is a Parameter C (this is a Numeric value).

When I choose A, it must be possible to enter a number for C. But when I choose B, the C must be disabled and I can not enter a number in the box.

It is not possible to define Numeric and True/False for C AT THE SAME TIME.

thanks

0 Likes
Message 4 of 4

JelteDeJong
Mentor
Mentor
Accepted solution

Hi,

i did not want to suggest that you made a parameter "Numeric" and "True/False". I tryed to show that you can make an extra parameter "D" that is of the type "True/False". That parameter can be used to disable and enable the text box of parameter "C" (the "Numeric" parameter)

I have a added an example. (it has been created with inventor 2018)

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com