I have set up a block with a form to input additional user profile field information (to save the user having to go to edit my profile, then scroll all the way down, and then find the additional fields.
$mform_myblock = new myblockblock_form(null,array($formdefaults)); $this->content->text .= $mform_myblock->render() ; // generate the form return $this->content ;;
The form displays OK (with a bit of CSS to make it fit into the block), but how do I now process the form output? I have returned the content via return->$this, so having output the form that function is finished