close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form showing "End tag form seen, but there were open elements." error when w3c validate

Thread began 6/29/2016 8:00 am by illbe322016 | Last modified 6/29/2016 2:11 pm by illbe322016 | 1841 views | 2 replies

illbe322016

Form showing "End tag form seen, but there were open elements." error when w3c validate

I am trying to w3c validate my page and I get "End tag form seen, but there were open elements." error. I have narrowed it down to the action="<?php echo $editFormAction; ?>" parameter, when I remove it completely the form sees the end tag, when it's in place it does not. I must have not closed something but I'm not sure what. I have included the form code.

Thanks as ususal

Tom


<form method="GET" action="<?php echo $editFormAction; ?>" id="quoteForm" onSubmit="return validateForm()">
<div class="col-md-4">
<h2 class="quote_title">Aircraft</h2>
<div class="form-group">
<div style="padding-bottom:5px;">
<select size="1" class="form-control" name="aircraftMake" id="aircraftMake" data-validation="required">
<option value="0">Aircraft Make</option>
<?php

$make=mysqli_query($link ,"SELECT DISTINCT(aircraftMake) FROM `aircraftData` ORDER BY aircraftMake ASC ");

while($row=mysqli_fetch_array($make)){?>
<option><?php echo $row["aircraftMake"]; ?></option>
<?php } ?>
</select>
</div>
<div style="padding-bottom:5px;">
<select id="aircraftModel" size="1" class="form-control" name="aircraftModel" data-validation="required">
<option value="0">Aircraft Model</option>
</select>
</div>
<div style="margin-bottom: 5px;">
<input id="tailNumber" name="tailNumber" class="form-control" type="text" placeholder="&nbsp;&nbsp;Tail Number" size="25" maxlength="100" value="" >
</div>
<h2>Engine</h2>
<div class="form-group">
<select size="1" class="form-control" name="engineModel" id="engineModel" data-validation="required">
<option value="0">Select Engine</option>
</select>
</div>
</div>
<div style="padding-bottom: 10px;">
<div class="form-group"></div>
</div>
<div style="clear:both;"></div>
<div style="margin-bottom: 5px;"></div>
</div>
<div class="col-md-4" >
<h2 class="quote_title">Your Info</h2>
<div style="margin-bottom: 5px;">
<input id="Name" name="name" type="text" class="form-control" placeholder="&nbsp;&nbsp;*Name" size="25" maxlength="100" value="">
</div>
<div style="margin-bottom: 5px;">
<input id="email" name="email" type="text" data-validation="email" class="form-control" placeholder="&nbsp;&nbsp;*Email Address" required size="25" maxlength="100" value="">
</div>
<div style="margin-bottom: 5px;">
<input id="telephone" name="telephone" type="tel" required class="form-control phone_us" placeholder="&nbsp;&nbsp;Telephone" size="25" maxlength="100" value="">
</div>
</div>
<div class="col-md-4">
<h2 class="quote_title">Additional Information</h2>
<textarea name="comments" placeholder="&nbsp;&nbsp;Additional Information" class="form-control" maxlength="2000" rows="4" style="width:100%; height: 106px;"></textarea>
<p style="font-size: 18px; padding-top: 20px; line-height: 16px; font-family: Arial, Helvetica, sans-serif;"></p>
<br>
<div style="padding-top:8px;">
<input type="submit" name="submit" value="Submit" class="btn btn-primary">
</div>
<input type="hidden" name="MM_insert" value="quoteForm">
</form>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...