F
Filamentβ€’13mo ago
Positiverain

How to use two forms for two models in one resource? Is it even possible?

Noob here. Maybe I am not using the best practices, but I have a User model (which has username, password, email etc) and a UserDetails model (which has full names, departments, whatsoever). In the same resource I want to make it so that when adding a User using create User, There's one form for username, email and password, there is a next button which would switch to UserDetails form. Only after completing all the required fields it would be possible to submit the form.
3 Replies
cheesegrits
cheesegritsβ€’13mo ago
Why not just use a group with a relationship, and have both on the same form?
cheesegrits
cheesegritsβ€’13mo ago
Positiverain
Positiverainβ€’13mo ago
damn i didn't see it, thanks for pointing out πŸ˜„