Add an execForm event

You can set up a form to exec a command based on the contents of the command.
For instance:
<form onSubmit='execForm "name $name$"'>
    <input type="text" name="name"/>
</form>

Would substitute the value of the element with the name "name" and execute the result of it.