we want to define a field in a request template that only should be shown when a defined value in a drop down list was choosen. Currently it seems that this will only work with static fields and text contents.
If the dependend field has the code 004 and in the Dropdown there is a vaule called "Other" the field 005 should appear to give the ability to enter more data.
Hi Shorty1,
This is all explained in the extension wiki, assuming you have a version 2.2.0+ of the extension.
The "master" field should be a Dropdown or a List. It's not recommended to use a Text or Date, it works but the screen is blinking on each entered character :-(
The "dependent" field can be any type of fields (also a read-only one is useless today due to the below mentioned limitation)
A newer version will be out end of September 2022, handling the current limitation by which initial values on dependent fields are not displayed
Regards
Vincent
Last edit: Vincent @ Combodo 2022-08-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It should be working.
"Values (OQL or CSV)" for the field "permission" are written as a single row, with no space after the comma?
Carriage return breaks the behavior and space before and after a value is considered as part of the value, so must be included in the test or better: removed from the definition.
Last edit: Vincent @ Combodo 2022-08-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Vincent,
is there any syntax how to use this display condition with a dependency of two fields for example if a text field should be shown when Textfield A or Textfield B has a specific text?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
we want to define a field in a request template that only should be shown when a defined value in a drop down list was choosen. Currently it seems that this will only work with static fields and text contents.
If the dependend field has the code 004 and in the Dropdown there is a vaule called "Other" the field 005 should appear to give the ability to enter more data.
How can we achive this?
Cheers, Shorty
Hi Shorty1,
This is all explained in the extension wiki, assuming you have a version 2.2.0+ of the extension.
The "master" field should be a Dropdown or a List. It's not recommended to use a Text or Date, it works but the screen is blinking on each entered character :-(
The "dependent" field can be any type of fields (also a read-only one is useless today due to the below mentioned limitation)
A newer version will be out end of September 2022, handling the current limitation by which initial values on dependent fields are not displayed
Regards
Vincent
Last edit: Vincent @ Combodo 2022-08-26
Hi Vincent,
thanks for you quick reply.
But why is it then not working :(
Base Field:
Optional Field:
But if I choose "Other" in the Base Field the optional field doesn't appear.
Extension is installed in Version 2.3.3
Last edit: Shorty1 2022-08-26
It should be working.
"Values (OQL or CSV)" for the field "permission" are written as a single row, with no space after the comma?
Carriage return breaks the behavior and space before and after a value is considered as part of the value, so must be included in the test or better: removed from the definition.
Last edit: Vincent @ Combodo 2022-08-26
Hi Vincent,
perfect that did the trick.
Can you please add this to the documentation?
Cheers Shorty
Wiki updated...
Hi Vincent,
is there any syntax how to use this display condition with a dependency of two fields for example if a text field should be shown when Textfield A or Textfield B has a specific text?
No there is not yet any possibility to have a field dependent on more than a single field.