I have a form that allows users to log details. One element of that form is to select a particular user. If that user is not there, I want to be able to create a modal to create a new user, submit that new user to the database and then have that user available in the drop down list for all users. I'm using MVC 4 and Twitter Bootstrap framework. Any suggestions on how to do this?
I'm able to create the layout and it all displays fine, but the main issue at the moment is that when I submit the form inside the modal it doesn't pass the model data through to the controller on submission. Is that due to the fact that you can't have forms within forms? Shouldn't I have had other issues if that's the case?
Any help or guidance would be greatly appreciated. Thanks!