Copied to clipboard

Flag this post as spam?

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


  • Fabio Milheiro 74 posts 136 karma points
    Oct 25, 2012 @ 18:41
    Fabio Milheiro
    0

    uCommerce: How to validate the forms?

    Just realized that the forms in the checkout don't have any validation built-in.

    What/Where do I need to do to validate the form fields?

  • Dan 1 post 21 karma points
    Oct 26, 2012 @ 23:17
    Dan
    0

    Im courius on that subject to... 

    Im currently relying on jQuery for that purpose...

  • Fabio Milheiro 74 posts 136 karma points
    Oct 29, 2012 @ 15:30
    Fabio Milheiro
    0

    Response from umbraco author Søren Spelling Lund:

    "Hi Fabio,

    You're correct that there is no validation in the XSLT store. It's really only meant to show you how the APIs work.

    If you validation you'll have to do checks server side with XSLT on all the posted values or use a Javascript based validation framework like jQuery validation.

    An alternative is to use the brand new Razor store for uCommerce 3 which is full featured including validation and best pratices.

    You can check it out at https://bitbucket.org/uCommerce/ucommerce-razor-store (only works with the uCommerce 3)."

Please Sign in or register to post replies

Write your reply to:

Draft