Next,IneedtovalidatethisformsothatonlyafterthepersonregisterscanIdownloadthefile.WiththetagIcanalreadyhavethisvalidationbutImanagedtoputittodownloadonlywiththetag"ancora".
<section id="e-book">
<header>
<h3>Baixe nosso e-book</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod<p>
</header>
<form id="for-banner" class="form-inline">
<div class="form-group">
<label for="exampleInputName2"></label>
<input type="text" class="form-control" id="exampleInputName2" placeholder="Nome Completo" required>
</div>
<div class="form-group">
<label for="exampleInputEmail2"></label>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="E-mail Corporativo" required>
</div>
<div>
<a href="/e-book/teste-ebook.pdf" download id="btn-ebook" type="submit" class="btn btn-default">Download</a>
</div>
</form>
</section>