Is there a way to update the Model for PaymentInformation so that I can force the users details to be mandatory for people who use IE8 as the required attribute doesn't work in that browser?
Sorry I wasn't very clear before, I was able to find the TeaCommerce.Api.Models for PaymentInformation but it appears to be generated from metadata so was wondering if there was a way to update the model so for example I could set the FirstName to be required like you can with MVC.
Mandatory fields in IE8
Hi,
Is there a way to update the Model for PaymentInformation so that I can force the users details to be mandatory for people who use IE8 as the required attribute doesn't work in that browser?
Thanks, Jeff
Hi Jeff
When we do website development for clients we never support IE8 because it has a lot of bugs and quirks. Just as an info :)
Dont know how to fix the UI for validation
Hi Anders,
Thanks for your reply, is there anyway to update the models that TeaCommerce uses?
Thanks, Jeff
What model? The .NET model or JS? And what do you mean by update?
Sorry I wasn't very clear before, I was able to find the TeaCommerce.Api.Models for PaymentInformation but it appears to be generated from metadata so was wondering if there was a way to update the model so for example I could set the FirstName to be required like you can with MVC.
Regards, Jeff
Ahh. No you can't change the model as the source code for the Tea Commerce core is closed source. You will have to validate in the UI
Thought that might be the case but just wanted to double check incase I'd missed something.
Thanks
is working on a reply...