How do I create a web form in Scriptable?

The ‘basic editor’ script used in this post shows how you can reference content in the web view using an evaluation.

Instead of returning content from the view, you could push it to the console instead.