How to pass Moodle Form Data to another page?

Re: How to pass Moodle Form Data to another page?

by Andreas Grabs -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Translators

Hi,

while you create an instance of your form you can pass the destination url:

$mform = new edit(new moodle_url('...'));

Best regards
Andreas

Average of ratings: Useful (1)