Currently, I am working on creating a form that allows users to update data.
<dl>
<dt>Medical Needs:</dt>
<dd class="med_needs" style="height:60px;overflow:auto">
<input type = "text" id="med_needs"name ="med_needs" value ="<?php echo $row2['med_needs']; ?>" style="width:90%; height:50px;" />
</dd>
</dl>
The current input box provided to the user does not have a scroll feature. This makes it difficult for users to view existing data in a user-friendly way. Implementing a scroll box would make it easier for users to read and update the content. I attempted to use overflow:auto as a styling option within the input tag, but unfortunately, it did not affect the appearance as expected.
My desired outcome is to provide the user with a scrollable text box for editing purposes. This will allow users to view the existing content before making any changes.