How to add Auto Name Suggestions while filling up the form ?

How to add Auto Name Suggestions while filling up the form ?

by Amrata Ramchandani -
Number of replies: 4

I would like the moodle page to provide me with Student's Name suggestions while entering username/first name first few letters.

I have seen few of the moodle core functionalities have this feature,how do i include this in my plugin form ?


Average of ratings: -
In reply to Amrata Ramchandani

Re: How to add Auto Name Suggestions while filling up the form ?

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Might be worth checking out the quick find block (sorry no link, I'm on my phone, but it's in the plugins database). That's basically what it does (There's a quick find course block too) 

In reply to Richard Oelmann

Re: How to add Auto Name Suggestions while filling up the form ?

by Amrata Ramchandani -

Sorry, I didn't get you. Can you please elaborate later whenever it is possible for you ?

In reply to Richard Oelmann

Re: How to add Auto Name Suggestions while filling up the form ?

by Amrata Ramchandani -

I am not looking for any plugins.I want core modules already present in moodle which work on such functionality

In reply to Amrata Ramchandani

Re: How to add Auto Name Suggestions while filling up the form ?

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

You said you are making a plugin - so I was suggesting looking at the code in https://moodle.org/plugins/block_quickfindlist which seems to do what you are looking for for your own plugin. I'm not suggesting you use quickfind as a block itself, but as a guide for how you can do it in your own that you are writing.