MVC dynamic form

mickey donny

New member
Oct 3, 2018
Programming Experience
Hello everyone,

I have an assignment to do for my class. It's an airport project. One of the views I have to make is a form where we can create an Airplane.
But the airplane can have more than one runway. So in my form, I must have a form to create the airplane and one form to create the runway by default.
But the user can add more than one runway.

I'm having a hard time finding the best way to do this. Right now, I have a button to add a runway with some javascript that adds the form hard coded.
What would be the best way to achieve this ?

Thank you very much !

Top Bottom