How can I read a text field?

Check out the API here: https://www.wix.com/velo/reference/$w/text/text

let value = $w("#textElement").text