I need to display input types conditionally in both the form and table columns.
If I select 'TextInput' from the 'value_type' dropdown, it will display the TextInput. However, if I choose 'Image,' the FileUpload will appear. By default, both the TextInput and FileUpload are hidden.
It might not be more challenging if TextColumn and ImageColumn are conditionally displayed based on the value type.
3 Replies
Please check the advanced form docs. There is an example for conditional fields.
@Dennis Koch Thank you very much. I managed to solve the conditional form section by studying the advanced form documentation. However, I haven't been able to find any documentation for the table builder. Could you please provide some guidance on how to display conditional column views?
You cannot conditionally show or hide columns on a table. That’s just not possible with html tables.