asp.net mvc 5 - MVC 5 Save Drafts While Ignoring Missing Required Fields -


I have searched for existing solutions, but do not get a set of directions or examples as a way to get the following :

The original requirements were included in the model with the required fields, so we included comments on those areas. As usual, the last minute changes are made and we are asked to allow users to save the draft.

I would like to know what are the best practices for this problem.

I am considering the solution, but I admit that they can be a hack (and this is why I am asking the experts)

  1. If If the user clicks on "draft as save" then I can capture those fields which have information other ActionResult and run the original verification on those areas as the expected field is an opportunity to disappear, That's why I captured the information I'm thinking of storing a temporary model (without any necessary annotation). If the user decides to edit such a form, then I can temporarily populate the fields in the views. The model does not click on "submit" until
  2. Another option is to remove all the necessary annotations and run client-side verification ... but think of the amount of work required to do this. I am here.

Any idea is highly appreciated.

Save just 2 ways 1 which is called AutoShare and 1 to use to process the process is done. Do not check if it's in the auto-save mode (ModelState.IsValid) .

You choose the option to save incomplete objects in a single table or a different table is your choice. In a relational world, I will use a different table, in a non-relational world, I will use a single object collection.

This will allow you to keep the same set of original models. There is a very high cost to replicate your model, of course many times warrants are passed by price / copy but make sure the cost of mapping is present there. In this story I do not believe that there is value in marriage, maybe at the stubborn level, if you need to map to a different object due to the constraints of the ORM.

These partial forms have deep value. Recording this on the server will allow you to apply analytics so that your users will abandon your processes. It also gives users the ability to follow up, which leaves unfamiliar form such as sending a reminder (snake) email


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

javascript - amcharts makechart not working -