Copy link to clipboard
Copied
Hi all,
How can I refresh a certain part of my page, the captcha, that is located in my form?
The reason I want to do this is that people who can't read the captcha won't have to fill in the form all over again.
The code I want to reload is: 1) a function call to generate the captcha text. 2)the <cfimage> tag that contains the captcha.
<cfset
tekst = Facade.genereerCaptcha() >
<cfinput type="hidden" style="width:150px" name="captchaWaarde" value="#tekst#" tabindex="8">
<cfimage action="captcha" difficulty="low" height="35" width="150" text="#tekst#">
Thanks in advance!
Stefan
Copy link to clipboard
Copied
iframe