Is this Captcha code corrupt?


i have site has multiple newsletter signup forms on different pages. working correctly. today client emailed saying captcha wasn't working on 1 of pages. browsed page , found captcha image broken link symbol. checked html , found modified form text shown below. if down <div class="captcha"> appears "{module_captchav2}</div>" missing. see div class below "captchaimg" did not add , 3 "input id's did not include. cdata text different on form. made changed text green in html below highlight it.

 

can explain happened?

 

thanks help!

brian

- - - - - - - - - - - - - -

        <form action="/campaignprocess.aspx?listid=20818" method="post" onsubmit="return checkwholeform95912(this)" name="catemaillistform95912">

            <div class="form-holder-rtcol">

            <label for="clfullname"><span style="font-size: 14px; color: #cc0033;">full name</span></label><br />

            <input type="text" maxlength="255" id="clfullname" name="fullname" class="text-field" />

            </div>

            <div> </div>

            <div class="form-holder-rtcol">

            <label for="clemailaddress"><span style="font-size: 14px; color: #cc0033;">email address</span></label><br />

            <input type="text" maxlength="255" id="clemailaddress" name="emailaddress" class="text-field" />

            </div>

            <div class="form-holder-rtcol">

            <div> </div>

            <label><span style="font-size: 14px; color: #cc0033;">enter word verification in box below</span></label>

<div class="captcha">

            <div class="captchaimg"><img src="/captchahandler.ashx?id=a5e8e5abd6b64331b29c888b99837849&amp;color=dimgray&amp;forec olor=white&amp;width=160&amp;height=36" alt="captcha image" /></div>

            <input id="captchav2" class="cat_textbox" type="text" name="captchav2" style="width: 160px;" />

            <input id="captchatv2" type="text" name="captchatv2" style="display: none;" />

            <input id="captchahv2" type="hidden" value="a5e8e5abd6b64331b29c888b99837849" name="captchahv2" />

            </div>

            <div class="calendar-submit-row">

            <input type="submit" id="catlistbutton" value="subscribe" class="submit" />

            <div style="float: left; width: 350px; font-size: 11px; margin: 3px;">

            <p>  <span style="vertical-align: super; font-size: 85%;">&lowast;</span>we never release email address anyone.</p>

            <p><span style="font-size: 14px; color: #cc0033;">note: fields of form must completed.</span></p>

            </div>

            </div>

            </div>

        </form>

        <script type="text/javascript" src="/catalystscripts/validationfunctions.js"></script>

        <script type="text/javascript">

//<![cdata[

function checkwholeform95912(theform){var why = "";if (theform.emailaddress) why += checkemail(theform.emailaddress.value);if (theform.captchav2) why += isempty(theform.captchav2.value, "enter word verification in box below"); if (why != ""){alert(why);return false;}theform.submit();return false;}

//]]>

</script>

- - - - - - - - - - - - - -

it not corrupt.

the situaiton viewed html of form on page, copied html , pasted there. may or may not have changed form action id match form (you should check) instead of needed captcha module, because copied html copied rendered captcha module. of course has session image have expired.



More discussions in How to - HTML / CSS / JavaScript


adobe

Comments

Popular posts from this blog

Thread: "Broken" background image with Super Key

Thread: unable to set up wifi