VxFormGenerator icon indicating copy to clipboard operation
VxFormGenerator copied to clipboard

Custom attributes on model to facilitate conditional display of entry fields

Open pm64 opened this issue 4 years ago • 1 comments

There are cases where we only display field Foo if the user enters value x into field Bar.

The most common example is probably a dropdown with an "other" selection that causes an additional text input to be displayed.

If https://github.com/Aaltuj/VxFormGenerator/issues/29 were implemented, I could achieve this behavior by manipulating the generated form. But the requirement is so common that specifying the conditional display logic using custom attributes on the model would be ideal.

pm64 avatar Jul 10 '21 09:07 pm64

Please see my response in #29 :)

Aaltuj avatar Jul 28 '21 11:07 Aaltuj