Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeff 74 posts 346 karma points
    Nov 24, 2015 @ 11:58
    Jeff
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 24, 2015 @ 12:19
    Anders Burla Johansen
    0

    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

  • Jeff 74 posts 346 karma points
    Nov 24, 2015 @ 13:43
    Jeff
    0

    Hi Anders,

    Thanks for your reply, is there anyway to update the models that TeaCommerce uses?

    Thanks, Jeff

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 24, 2015 @ 13:44
    Anders Burla Johansen
    0

    What model? The .NET model or JS? And what do you mean by update?

  • Jeff 74 posts 346 karma points
    Nov 24, 2015 @ 13:48
    Jeff
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 24, 2015 @ 14:00
    Anders Burla Johansen
    100

    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

  • Jeff 74 posts 346 karma points
    Nov 24, 2015 @ 14:15
    Jeff
    0

    Thought that might be the case but just wanted to double check incase I'd missed something.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft