Sign Up Multi-step form

Sign Up Multi-step form

by Murilo Timo Neto -
Number of replies: 2
Hi,

I would like to customize the moodle registration form.

I find the login/signup_form.php and I began to study it.

I want to use this kind of form

http://www.jquery-steps.com/Examples#advanced-form

Someone tried to do something like this?
Can I do this customizing only the template?

I appreciate any help o/
Average of ratings: -
In reply to Murilo Timo Neto

Re: Sign Up Multi-step form

by Murilo Timo Neto -

So I studied a lot. Hehehe.

The form of registration is built on /login/signup.php if you need to change it, you can use customscripts:

https://docs.moodle.org/dev/customscripts

But, I believe we can do this only by customizing the theme. Then some doubts born: / I saw two different models to include JavaScript in moodle.

First with AMD modules as in bootstrapbase thema. As I understand it this way starts with the correct thirdpartylibs.xml file?

So start the questions, the libraries that are inserted are included on every page? it's like magic? I also saw use as the adptable thema:

jquery inside the folder, there is plugins.php file

$ Plugins = array (     'Bootstrap' => array ( 'files' => array ( 'bootstrap-min.js'))     'Flexslider' => array ( 'files' => array ( 'jquery-flexslider-min.js'))     'Easing' => array ( 'files' => array ( 'jquery-easing-min.js'))     'Ticker' => array ( 'files' => array ( 'tickerme.js'))     'Dropdown' => array ( 'files' => array ( 'dropdown.js'))     'Adaptable' => array ( 'files' => array ( 'adaptable.js'))     'Pace' => array ( 'files' => array ( 'pace-min.js')) );

with the list of javascript files. and then the lib in thema startup have the function

$ Page-> requires-> jquery_plugin ( 'flexslider', 'theme_adaptable');

Nice, What is AMD magic on moodle?