///ENSURE THE 'req' CLASS IS SET TO display:none; in your CSS file.
///ALSO ENSURE THE CONTACT PROCESS PAGE MATCHES THE URL SPECIFIED IN THE ACTION BELOW
<form method="post" action="contact-process.php">
<p class="formp">Name*</p>
<input name="name" value="<?php echo $nam ?>" type="text" class="mainformstyle" size="25" maxlength="50" style="width: 260px;" />
<p class="formp">Email Address*</p>
<input name="email" value="<?php echo $em ?>" type="text" class="mainformstyle" size="25" maxlength="50" style="width: 260px;" />
<p class="formp">Phone Number</p>
<input name="phone" value="<?php echo $phone ?>" type="text" class="mainformstyle" size="25" maxlength="50" style="width: 260px;"/>
<br />
<div class='req'>
<label for='website'>Leave blank</label>
<input type='text' name='website'>
</div>
<p class="formp">Message / Comments *</p>
<textarea name="message" class="mainformstyle" rows="8" cols="4" style="width: 260px;"></textarea>
<br />
<br />
<p>
<input type="submit" value="Submit Form" class="mainformstyle" style="width: 260px;"/>
</p>
</form>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.