I’ve been looking at this for quite a while now and the only solution I have found is https://github.com/ics-software-engineering/play-example-form.
Before I go down this route is there a way to create a form from more that one model and retain validation?
The above won’t work with validation apparently, I guess because a “proxy” object is used instead of using the models directly.
In my case I have a User model and an Address model but I want the Town and Country parts of the Address model filled at the same time as the User fills out User details and saved together.
So my question is “Is there a proper Play way of doing this in Java?” as this feels a bit hacky.