[eluser]tim1965[/eluser]
full view code as requested. I have removed the second form reference and optimized the javascript but that didnt fix it. thanks in advance for your time.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
[removed][removed]
[removed][removed]
[removed][removed]
<link href="<?php echo base_url().'/system/static/css/f_propreg1.css'; ?>" rel="stylesheet" type="text/css" />
<link href="../../static/css/f_propreg1.css" rel="stylesheet" type="text/css" />
</head>
<body>
New User Registration
<?php echo form_open('c_f_propreg1_username_v1'); ?>
<fieldset><legend>Your Name</legend>
<div> <label for="title">Title</label></div>
<select name="title" id="title" class="required" value="<?php echo set_value('title'); ?>" title="Please select your Title">
<option value="">--Select Title--</option>
<option value="Mr"<?php echo set_select('title', 'Mr'); ?> >Mr</option>
<option value="Mrs"<?php echo set_select('title', 'Mrs'); ?>>Mrs</option>
<option valuwd="Miss"<?php echo set_select('title', 'Miss'); ?>>Miss</option>
<option value="Ms"<?php echo set_select('title', 'Ms'); ?>>Ms</option>
</select>
*<span class="phperror"><?php echo form_error('title'); ?></span>
<div><label for="firstname">First Name:</label></div>
<input name="first_name" type="text" class="required" id="first_name" title="Please enter your First Name" value="<?php echo set_value('first_name'); ?>" size="50" maxlength="70" />
*<span class="phperror"><?php echo form_error('first_name'); ?></span>
<div><label for="lastname">Last Name:</label></div>
<input name="last_name" type="text" id="last_name" value="<?php echo set_value('last_name'); ?>" size="50" maxlength="50" class="required" title="Please enter your Last Name" />
*<span class="phperror"><?php echo form_error('last_name'); ?></span>
</fieldset>
<fieldset><legend>Login and Password</legend>
Fields marked with an Asterick are mandatory
<div><label for="email">Please Enter your E-mail Address</label></div>
<input name="email" type="text" value="<?php echo set_value('email'); ?>" id="email" /> *<span class="phperror"><?php echo form_error('email'); ?></span>
<div><label for="username">Choose a Username</label></div>
<input name="username" type="text" id="username" value="<?php echo set_value('username'); ?>" size="15" maxlength="12" />
* Min 6 chars-Max 12 chars<span class="phperror"><?php echo form_error('username'); ?></span>
<div><label for="pwd">Choose a Password</label></div>
<input name="pwd" type="password" id="pwd" value="<?php echo set_value('pwd'); ?>" size="15" maxlength="12" />
* Min 6 chars - Max 12 chars<span class="phperror"><?php echo form_error('pwd'); ?></span>
<div><label for="conf_pwd">Re-enter Password</label></div>
<input name="conf_pwd" type="password" id="conf_pwd" value="<?php echo set_value('conf_pwd'); ?>" size="15" maxlength="12" />
* Min 6 chars - Max 12 chars<span class="phperror"><?php echo form_error('conf_pwd'); ?></span>
<div><label for="passwordhint">Password Hint</label></div>
<input name="Passwordhint" type="text" id="passwordhint" value="<?php echo set_value('passwordhint'); ?>" maxlength="20" />
<p> Accept our Terms and Conditions
<input name="terms" type="checkbox" value="1"<?php echo set_checkbox('terms','1'); ?> id="terms" />
*<span class="phperror"><?php echo form_error('terms'); ?></span></p>
</fieldset>
<input name="" type="submit" />
</body>
</html>