Re: Dynamic form fields

Norman Franke <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
That definitely works. You can also just add all the fields you’ll need to the form and then use JavaScript to hide fields that you don’t need at the time. This method is super simple, although you may need to validate some fields on the server side. Or set the values to null when you hide them.

-Norman Franke

> On Dec 14, 2017, at 8:16 AM, Bob Harner <[email protected]> wrote:
> 
> Nathan,
> 
> Have you tried the FormFragment component?
> 
> See
> https://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/FormFragment.html
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.