Page 1 of 2

Validated property unavailable ?

PostPosted: 02 Jun 2013 18:21
by Peter_B
Hi CG
I have recently changed to IW 14.0.10 and your IWCGJQ components v. 1.5.4.2397
One project I have makes use of IWCGJQFancyCaptcha but it now seems the Validated property is unavailable (it's greyed out in the object inspector ... read only ? ... but available in code completion - Delphi XE2)
I noted from the version history that the event that checks validated can now be async/ajax , maybe a clue there ?
Understandably this property is pretty crucial to this component ;) ... or have I missed something here (wouldn't be anything new) :roll:

thanks and best regards

Pete B.

Re: Validated property unavailable ?

PostPosted: 02 Jun 2013 19:38
by Jorge Sousa
Hi Pete

The Validated property always has been readonly.

And now the validation can be made in ajax/async events, that's a new feature.

Best Regards

cgdevtools

Re: Validated property unavailable ?

PostPosted: 02 Jun 2013 19:45
by Jorge Sousa
By the way

There a known issue with IW14.0.10 and images. We are waiting for IW14.0.11 to fix it.

Regards

cgdevtools

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 16:57
by Peter_B
Hi
Thanks for the information ...
cgdevtools_support wrote:The Validated property always has been readonly.

... yes, of course, sorry that's me being 'blind'.

Unfortunately though, IWCGJFancyCaptcha is not properly operational with IW 14.0.10.It seems even a simple FancyCaptcha/Button project can only validate true if the first attempt is correct. Any subsequent attempts, using the correct image or not, always fail. Please note I am using Ajax = False. When working with Ajax = True, validation suffers a similar fate. Perhaps as you suggest, it is due to the problem this version of IW has developed with images. Awaiting IW 14.0.11 along with you ...

best regards

Pete B.

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 18:20
by Jorge Sousa
Hi again

I'm sorry but I can't confirm this issue in IW14.0.10

Can you replicate this issue in our demo?

If you could sent us a test case demo, it would be awesome.

Regards

cgdevtools

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 18:42
by Peter_B
Thanks, I'm still trying to get FancyCaptcha to work reliably, Ajax true or false with IW 14.0.10
I will send a demo as soon as possible.

best regards

Pete B.

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 19:22
by Jorge Sousa
Hi again Pete

Actually we found an issue.

Using full submit events (Ajax=False)

1 - Hit the button with a correct match.

2- Validated returns True

3- if you don't change the current form, and we hit the button again, it keeps saying that Validated = True, because it's not set to false OnRender, only OnCreate

That's the only issue we could find. Fixed in next release

Best Regards

cgdevtools

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 19:45
by Jorge Sousa
Hi

We're about to launch Google's Recaptcha (http://www.google.com/recaptcha)

However, FancyCaptcha is much difficult to crack

Regards

cg

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 22:10
by Peter_B
OK, it's interesting you found an issue at your end. I don't actually think it's the issue that's causing problems this end though.

With AJAX=False (full submit) in actual fact I found a simple demo basically works OK. In this case I think it is something in my buttonclick event code which is causing a problem. I'll have to find out what but I do have a lot of code in that event rather than just a simple condition for validated, so I'll have to sort that one out. Out of interest though, I had no issues with IW 12.2.12.1 / CG 1.5.3

With AJAX=True (async) it does seem a different story. Maybe I'm not getting this right but I can only make this work if I refresh the browser ... but isn't that defeating the object ? (or demonstrating my ignorance :? )

In any case I have sent a simple project to your support email address. It contains the project files, and 2 SA servers (1 x AJAX=TRUE and 1 x AJAX=FALSE) compiled with IW 14.0.10 / CG 1.5.4.2397. I'm not sure these will be of too much use, they are probably too simplistic.

I'd love to stick with FancyCaptcha, it's pretty cool :!:

Thanks for all your feedback, I'll just try to crack my issue(s) with the full submit version and also see if the next release you make, which resolves the issue you found, helps too.

best regards

Pete B.

Re: Validated property unavailable ?

PostPosted: 03 Jun 2013 23:26
by Jorge Sousa
Pete

ok, we'll check out your demo. If you need a fast help, please join skype and add cgdevtools id contact, we can schedule a remote session, if you want.

Best Regards

cgdevtools