Copied to clipboard

Flag this post as spam?

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


  • Elad Lachmi 112 posts 144 karma points
    Mar 21, 2011 @ 05:07
    Elad Lachmi
    0

    CreateUserWizard jQuery Validation

    Hi,

    I want to add username and email availability check on the client side with jQuery. If I were extending our custom in-house CMS I would add the functions to one of the webservices or add a web method to actually validate the data.

    I was wondering if I should do the same in Umbraco, or maybe there is a more Umbraco-ish way to do this?

    Thank you!

    -Elad

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 21, 2011 @ 07:58
    Jan Skovgaard
    0

    Hi Elad

    I suppoose you're creating the create page in a user control? I suppose you could add the check there or you could simple just add a link to the script either in the header or before the </body> on your masterpage where you make sure the fields have been filled in correctly.

    /Jan

  • Elad Lachmi 112 posts 144 karma points
    Mar 22, 2011 @ 16:32
    Elad Lachmi
    0

    Thanks for the reply Jan.

    I will add the script, but that is not the issue.

    I could create a webservice to check the username and email against the database, but this seams like a method that is "outside" of Umbraco. i.e. I`m creating a asmx in VS2008 and uploading it to the Umbraco folder. I was wondering if there is any way of adding the service within the confines of Umbraco itself, without "extending" it?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 22, 2011 @ 22:05
    Jan Skovgaard
    0

    Hi Elad

    Oooh...well I guess you could just use the asp:Login controls since the membership provider is 100% based on the ASP.NET membershop provider.

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies