General developer forum

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

 
Picture of Amrata Ramchandani
How to add Auto Name Suggestions while filling up the form ?
Group Plugin developers

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: -
Picture of Richard Oelmann
Re: How to add Auto Name Suggestions while filling up the form ?
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developersGroup 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) 

 
Average of ratings: -
Picture of Amrata Ramchandani
Re: How to add Auto Name Suggestions while filling up the form ?
Group Plugin developers

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

 
Average of ratings: -
Picture of Amrata Ramchandani
Re: How to add Auto Name Suggestions while filling up the form ?
Group Plugin developers

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

 
Average of ratings: -
Picture of Richard Oelmann
Re: How to add Auto Name Suggestions while filling up the form ?
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developersGroup 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.

 
Average of ratings: -