Webiter
08-07-2011, 10:31 PM
I have a form set between<fieldset>tags as below. I have a php errors set to print as in the red text below. The rest of the form follows on to the end <fieldset>
<body>
<fieldset>
<legend>Link to my Friend/s.</legend><br />
<i>Required *</i>
<form id="test" method="post" action="<?php echo $PHP_SELF?>" >
<?php global $errors; if(count($errors) != 0){ print_error($errors);}?>
<label for="your_name">My Name:*</label><input type="text" name="your_name" value="<?php echo $_POST["your_name"]?>" />
xxxxxxxxx etc
<label>Send Link:</label><input type="submit" name="submit" value="Send Website Link" />
</form></fieldset></body>
Problem : When the errors print they appear within a black line like a fieldset that takes up the whole of the form as the attached image shows. How do I get rid of the black line when the errors are printing ? :confused: ?
Thanks in advance for any suggestions.
<body>
<fieldset>
<legend>Link to my Friend/s.</legend><br />
<i>Required *</i>
<form id="test" method="post" action="<?php echo $PHP_SELF?>" >
<?php global $errors; if(count($errors) != 0){ print_error($errors);}?>
<label for="your_name">My Name:*</label><input type="text" name="your_name" value="<?php echo $_POST["your_name"]?>" />
xxxxxxxxx etc
<label>Send Link:</label><input type="submit" name="submit" value="Send Website Link" />
</form></fieldset></body>
Problem : When the errors print they appear within a black line like a fieldset that takes up the whole of the form as the attached image shows. How do I get rid of the black line when the errors are printing ? :confused: ?
Thanks in advance for any suggestions.