From what I’ve found online so far, most people say there should only be 1 form per html page, but is there a way to create an ionic modal with 2 forms, one for sign up and one for login on the same screen? I’m using the Ionic framework for my website.
I don’t see any problem to create 2 forms in modals on one screen
how would you go about doing that though?
I made the same thing in one of my first apps
You could have the login form show first. Underneath the submit button, you could have another button “Signup Instead”. If they tap that button, it shows the signup form. Now, underneath the “Submit” button, you’d show a different button “Login Instead”.
ng-show to show the correct form/buttons.