Copied to clipboard

Flag this post as spam?

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


  • Claudio Di Flumeri 2 posts 22 karma points
    Apr 29, 2014 @ 11:58
    Claudio Di Flumeri
    0

    Validation without postback

    Hello,

    I am using your captcha control in my Umbraco-based website.

    I was able to add the control in a page with an input textbox to made a validation, but i have this problem: I have to validate the input with jQuery and not on postback of the page, but at this stage the session value

    HttpContext.Current.Session["captchaString"]

    is not the current captcha value shown in the image box but the previous one (the one of the previous postback) so obviously i can't check it correctly.

    So the question is if your control can work only on a submit-button-postback scenario or if is there a way to obtain the currently captcha shown value without a postback

    Thanks

    Claudio Di Flumeri

  • Luke Alderton 191 posts 508 karma points
    Apr 29, 2014 @ 12:13
    Luke Alderton
    0

    Hi Claudio,

    I'd assume that if it doesn't save the captcha to the session on page render then you'd have to recompile the dll with your changes to make it work. Unfortunately I can't give you much more information than this at the moment because I haven't released an update for it in a while and I'm not at my computer right now, I will have a look tonight for you though.

    Thanks, Luke

  • Claudio Di Flumeri 2 posts 22 karma points
    May 08, 2014 @ 17:08
    Claudio Di Flumeri
    0

    Hello

    Thanks for your reply.

    Is there a way to recompile the dll? I have downloaded the package but it contains only the .dll file, config and .ashx, not the source.

    Claudio

  • Ben Norman 167 posts 275 karma points
    Sep 12, 2014 @ 04:28
    Ben Norman
    0

    Can you put the source up on github or bitbucket. We could make changes to it for you if you like.

  • Dipa 88 posts 370 karma points
    Feb 23, 2016 @ 06:53
    Dipa
    0

    Hi Claudio,

    Did you get the solution for this issue? I am having same issue. Please guide me if you got the solution for it.

    Thanks,

    Dipa

Please Sign in or register to post replies

Write your reply to:

Draft