Trying to make my own custom form (Like a splash page) to sign up for the moodle. But I'm having issues making it act like a normal sign up.
<form action="moodlesignup.php" method="POST">
<label>First Name:</label><input type="text" name="firstname"><br>
<label>Last Name:</label><input type="text" name="lastname"><br>
<label>Email:</label><input type="email" name="email"><br>
<span><button type="submit" class="button">Join now</button></span>
That's my form code, but I'm not sure how to make it work in place of signup_form.php and signup.php
Been looking at signup.php, line 44.
$mform_signup = $authplugin->signup_form();
I can't find where signup_form(); is, having a second one would allow me to play with signup_form2.php