Hello,
I have created the following form using Netlify Forms:
<form id="download-d-i-v-e-march-report-form" name="d-i-v-e" action="https://res.cloudinary.com/makers-asylum/image/upload/v1564326086/D.I.V.E%202019%20Report.pdf" method="post" data-netlify="true">
<div class="form-group">
<label for="name" class="col-form-label">Name</label>
<input type="text" name="name" class="form-control" id="name" required="">
</div>
<div class="form-group">
<label for="email" class="col-form-label">E-mail Address</label>
<input type="email" name="email" class="form-control" id="email" required="">
</div>
<div class="form-group">
<label for="phone" class="col-form-label">Contact Number</label>
<input type="tel" name="phone" class="form-control" id="phone">
</div>
<div class="form-group">
<label for="occupation" class="col-form-label">Occupation</label>
<input type="text" name="occupation" class="form-control" id="occupation" required="">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Submit and Download</button>
</div>
</form>
But on submission I am getting the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://res.cloudinary.com/makers-asylum/image/upload/v1564326086/D.I.V.E%202019%20Report.pdf. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Please help.