I have business plan, so just after help with what javascript code to use.
The intended result is to have the html type for the form field be date, so that web browsers can allow the date picker for data input. (See attached screenshot showing how this would look!)
+++
The idea was inspired by zoxoxu's post on the following thread. But the code I haven't been able to get working.
Here is what I have tried injecting into the header of the page:
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script>
$( document ).ready(function() {
$('#text-yui_3_17_2_1_1541027265450_300449-field').attr("type", "date");
});
</script>