#1 2020-06-10 00:39:23
- asodpz
- New member
- Registered: 2020-06-10
- Posts: 5
Conditionally display or hide a field
First of all, thanks for the excellent software.
I have a "type = number" field and I would like it to be visible or invisible according to the values of a "type = options" field.
For example: when choosing values like "ignore" or "wait" it will be invisible and when choosing values like "watch" or "watched" it will be visible.
Would it be possible?
Could someone send an example, please?
Thank you very much in advance!
Sorry, for my bad English.
Offline
#2 2020-06-11 10:48:47
Re: Conditionally display or hide a field
This is currently not possible with GCstar.
The closest function to that feature is that a field can be hidden if another field is hidden. It's only used once for the videogames model for the "installationsize" and "installationsizeunit" fields. It applies to all items of a collection.
It uses a "dependencies" attribute of the GCItemPanel object that is processed in the "setShowOption" method of the same package to make fields visible or hidden. If someone want to implement the proposed feature, that should be the starting point.
Offline
#3 2020-06-11 16:24:58
- asodpz
- New member
- Registered: 2020-06-10
- Posts: 5
Re: Conditionally display or hide a field
It's a shame, but as it is more of an aesthetic problem, then that's fine.
Thanks a lot for the help!
Offline
Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.