title: Dynamically Add Item to DropDownList in a form
body: <p>I have a question and maybe someone could help me find the best solution.  I want a user to be able to add items to a drop down list dynamically in a form.  I have a form with text boxes and drop down lists and want the user to be able to add items to the drop down list if they don't find it.  I would make the drop down lists text boxes but I want to try and keep the names consistent.  An example of a form would be have the user enter a name and then have drop down lists for colors and shapes.  If the user does not see the color in the drop down I want them to be able to click a link next to the drop down and enter the name or the color.  Another link to add shapes to the drop down list.  </p>
  
  <p>I'm trying to do this in an MVC Razor environment.  I tried using partial views by having the link open a modal box of a partial view to enter the name, but then I have a form within a form and cannot submit the inner form.  If I open a small window to enter the name then how do I add it back to the original parent window form without loosing what they already entered in the text box?  I know there has to be a good solution out there.  </p>