How to dynamically show certain fields (and values) depending on a custom state / input

You may try to reference this thread though

It might enable the functionality you are looking for.