Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Captcha Image Not Showing

Explorer ,
Mar 24, 2007 Mar 24, 2007
Hi, I am generating the Flash forms formypages, One thing i came across is that how do i mange touse the captcha image inside the cfform flashform, It shows no eror but dos not display the image., can anybody had done xperimenting this thing.

the code is like this:

<cfform action="" method="post" enctype="application/x-www-form-urlencoded" name="form1" format="flash" width="400" skin="haloOrange" id="form1" height="450" style="background-color:##FFFFCC; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; table-layout:auto; vertical-align:middle;">
<cfformgroup type="page" label="Add New Link">
<cfinput type="text" name="textfield" required="yes" message="URL Value Required" validate="url" validateat="onsubmit,onserver" label="URL of Website:" size="20" tooltip="URL Valid Value Like http://www.yourdoamin.com" tabindex="1">
<cfinput type="text" name="textfield1" required="yes" message="Title of URL" validate="noblanks" validateat="onsubmit,onserver" label="Title of URL:" size="20" tooltip="Name of the URL" tabindex="2">
<cftextarea required="yes" name="textfield2" label="Description:" validate="noblanks" validateat="OnSubmit,OnServer" message="Description Required" tooltip="Description of the Website Required" tabindex="3" cols="25" rows="4" wrap="virtual"> </cftextarea>
Image Verification: <cfinclude template="captcha.cfm"> <cfoutput> <img src="#easyCaptcha.IMAGE#" border="0" height="100" width="100"/> </cfoutput> <cfinput name="secret" type="text" label="Veriication Code:" required="yes" size="10" message="Image Verification failed" />
<cfinput type="submit" name="submit" value="Add the Link" tabindex="4" validateat="onSubmit"
validate="submitonce">
</cfformgroup>
</cfform>
</body>
385
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Mar 26, 2007 Mar 26, 2007
I'd suggest moving the include for captcha.cfm above the <cfform tag

Then try this for including the captcha image in the form.

<cfformitem type="html" height="100" width="100"><p><img src="#easyCaptcha.Image#"/></p></cfformitem>
Translate
Engaged ,
Mar 26, 2007 Mar 26, 2007
LATEST
I'd suggest moving the include for captcha.cfm above the <cfform tag

Then try this for including the captcha image in the form.

<cfformitem type="html" height="100" width="100"><p><img src="#easyCaptcha.Image#"/></p></cfformitem>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources