Dealing with Forms in Razor Pages
I'm creating a Razor Pages based web application that will be used to record and submit laboratory data to a database for certain processes performed at my work.
What I want to do is:
- When the user clicks "Create New Session", have a bootstrap modal with a form come up in which they indicate the type of session they want to create.
- Then, the user will click "Next", and another modal will pop up with another form that has fields relevant to the type of session that they selected.
- After all the fields are populated, the user can submit the data, it will write to the database, and the modal will close.
My problem is that I'm not familiar with how to deal with forms in this context, especially where I'm trying to have two forms in one page, and both are placed in modals. Any help would be appreciated!!
0 comments:
Post a Comment