i have this code in it how to send form value to php file .
<form role="form" id="upload_form" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="formlabel">Title</label>
<input class="form-control" name="title" id="title" placeholder="Enter Software Name" type="text" value="<?php if(isset($title)){echo $title;}?>" required>
</div>
<div class="form-group">
<label>Short Meta Description atleast 155 words</label>
<textarea class="form-control" name="shortdec" id="shortdec" rows="3" required><?php if(isset($shortdec)){echo $shortdec;}?></textarea>
</div>
<div class="form-group">
<label>File input</label>
<input name="softpost" id="softpost" type="file" required>
</div>
<input type="button" value="Upload File" onclick="uploadFile()">
<progress id="progressBar" value="0" max="100" style="width:300px;"></progress>
<h3 id="status"></h3>
in javascript file work file data fine but i want to send also title and shortdec id value also please tell me how to do it
var formdata = new FormData();
formdata.append("softpost", file);