Shai If - 2010-07-20

Hey ,
I want to use the Captcha module with the registration page. Is that possible? I mean how do i integrate Captcha and registration.

Btw must say you guys are great; you have been of great help! I really hope to give back to the jGuard Community

The code for my registrationPage.jsp is attached for your referece:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
<style type="text/css">
body {
background-image: url("login_bg.jpg");
background-repeat: repeat;
}

table {
color: red;

}
.myclass{
background-color:#024164 ;
}
div {
margin-left: auto;
margin-right: auto;
margin-top: 10%;
margin-botton: 40%;
width: 150px;
/* Change this to change the width of the login form, and the registration form */
}

input:focus {
border: 1px solid red;
font-weight: bold;
}

.loginFont {
font-family: Tahoma;
font-size: 10pt;
font-style: none;
color: white;
width: 122px;

}
</style>

</head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<body id="root">

<div>
<table  >
<tr>
<td ><b style="color: white">Registration Form!</b></td>
</tr>
</table>

<form id="form" action="/jGuard/RegistrationProcess.do">
<table>

<tr>
<td>Login</td>
<td><input type="text" name="login" /></td>
</tr>

<tr>
<td>Password</td>
<td><input type="password" name="password" /></td>
</tr>

<tr>
<td>FirstName</td>
<td><input type="text" name="firstname" /></td>
</tr>

<tr>
<td>LastName</td>
<td><input type="text" name="lastname" /></td>
</tr>

<tr>
<td>Location</td>
<td><input type="text" name="location" /></td>
</tr>
<tr>
<td><input type="image" src="register.jpg" /></td>

<td><input type="image" src="reset.jpg" onclick="parent.location='/jGuard/RegistrationPage.do'; return false"/></td>
</tr>
</table>

</form>

</div>

</body>
</html>

Shai