I probably should have said why I wanted to do it.
I'm using the jquery.validate and MVC jquery.validate.unobtrusive libraries to provide validation for my other forms so I wanted to do do the same with the Tea Commerce forms.
If I keep them as they are I'll have to do something extra.
If you want to do this you will have to do your own implementation of the form handler in Tea Commerce. You make your own controllers and then in the C# code you just use the TeaCommerce handler to TeaCommerceHelper class that is in the TeaCommerce.Api.Web dll. But if you need to implement the entire HTML form API you have quite a job to do :)
Creating forms the mvc way that post back to TC
How do I convert
into
for use with an MVC view?
What do I need to put for the action and controller params?
Regards,
Matt
Hi Matt
You should not change these forms into MVC forms. So just use them as normal.
I probably should have said why I wanted to do it.
I'm using the jquery.validate and MVC jquery.validate.unobtrusive libraries to provide validation for my other forms so I wanted to do do the same with the Tea Commerce forms.
If I keep them as they are I'll have to do something extra.
If you want to do this you will have to do your own implementation of the form handler in Tea Commerce. You make your own controllers and then in the C# code you just use the TeaCommerce handler to TeaCommerceHelper class that is in the TeaCommerce.Api.Web dll. But if you need to implement the entire HTML form API you have quite a job to do :)
Kind regards
Anders
Ah yes, creating a middle-man class is a good solution. :-)
is working on a reply...