Thanks for the information. I don't know javascript so i am flying blind. I couldn't quite get it to work. Here's what I did:
I put this code in the footer. I turned off the HTML editor before entering this. The name of the field I am trying to edit is adults.
<script>
document.addEventListener('DataPageReady',checkInput);
function checkInput(){
let input = document.getElementById('InsertRecordadults');
input.min = "0";
input.type = "number";
input.setAttribute("oninput","validity.valid ||value='')");
}
</script>