How to access values from custom HTML forms?

Welcome to the forum!

Here’s an example component that does keyboard time entry: Simple time entry field

It provides a time property that can be used to fetch the time the user enters. You can look through the code and see how the time property is implemented.

The docs on custom component properties may also help: Anvil Docs | Custom Components You get to the dialogue they show there by clicking the three dots next to the component and choosing Configure Component.