Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Navigation

Captcha Code Formatting

Last updated on
G
GrimlochSenior Member
Posted
I have a problem that I haven't been able to figure out. No matter what coding scheme I use my Google reCaptcha won't display right. I'm doing it in a bootstrap form. Here's what I get:
whisperwillow.net/stuff/captcha.jpg

And here is my code:
 if (!iADMIN) {
 echo "<div class='form-group'>n";
 include INCLUDES."captchas/".$settings['captcha']."/captcha_display.php";
 if (!isset($_CAPTCHA_HIDE_INPUT) || (isset($_CAPTCHA_HIDE_INPUT) && !$_CAPTCHA_HIDE_INPUT)) {
 echo "<label class='control-label col-sm-2' for='captcha_code'>Validation:</label>n";
 echo "<div class='col-sm-8'>n";
 echo "<input type='text' id='captcha_code' name='captcha_code' class='textbox' autocomplete='off'>n";
 echo "</div>n";
 }
 echo "</div>n";
}

It will not display the label text and will not align where it should, underneath the text area.
Energy can neither be created nor destroyed; only transformed !
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Grimloch