Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Capturing and sending to the server selection user piece of text on the web page: Difference between revisions

From MoodleDocs