Nathan, Have you tried the FormFragment component?
See https://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/FormFragment.html On Dec 14, 2017 5:47 AM, "Nathan Quirynen" <[email protected]> wrote: Hi, This subject has been spoken about more in the past, but I still have not found a good solution to this and still struggle with this. What is the best practice (Tapestry 5.4+) to add fields to a form "dynamically". In my use case I just want to add some fields to a form when a checkbox (also part of the same form) is selected, or remove/hide them (in a way that they will not be validated and posted) when the checkbox is deselected. How do you guys handle these use cases with forms? Nathan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
