Then it sounds like your only option is to submit the form so it saves the 
data. The issue you might have with this is that "reloading the captcha" 
means actually submitting the form, which means validation errors will show 
up as well as reloading the captcha.

If that's what you want, check out JsHelper::submit() instead of link. This 
will POST the data to /users/add and thus keep the data intact and "reload" 
the captcha. 

The last solution I gave you just reloaded the captcha element itself, 
which I thought was sufficient depending on how your captcha is kept. I 
guess not.

Other than that, check out the captcha's api to see if it has a reload 
javascript api included.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to