lettucebo / MvcDynamicForms

Create dynamic forms in ASP.NET MVC.
52 stars 28 forks source link

How to collect responses but not submit form? #4

Open ng-le opened 8 years ago

ng-le commented 8 years ago

Hi lettucebo, This is a great library and it helps me a lot. I'm considering a way to collect responses but not submit the form, so I can use it in ajax request. Is there any supported way to do this?

Thank you. MillDol.

lettucebo commented 8 years ago

Hi MillDol:

I sure there is a way to post form by ajax and collect response is just same as original one, because model binding will do the trick

So I think the problem is how to using ajax to send the proper form.

Unfortunately I'm quite busy this week, so I can't give you a quick demo right now, I will update it as soon as I have time.

But if you have managed to do that, you can just send me a pull request and i will merge it.

Thank you Money.

ng-le commented 8 years ago

Yes, I think I can get it with Ajax Form of MVC. I will post it after I finish it.

Thank you. Mill Dol