If you want to disable an input field and but still post it’s data to a database via a back end programming language like PHP, give it the
readonly attribute i.e.
<input name="Percentage" readonly="readonly" type="textbox" value="100" />
If assigned the
disabled attribute, then it will not be able to post data.
What if you are working with a
<textarea id="description-text" class="form-control" name="description_change" rows="5" required readonly><?php echo set_value('description_change');?></textarea> This feature is applicable when there are fields with auto-generated data and should not be tampered with while typing data.