JSON User Selection Error when searching

JSON User Selection Error when searching

by Gavin Neale -
Number of replies: 0
Hi just wondering if anyone has any experience in using the user selection form, like the cohort add user page. I want to create a page where the user can select users from a list. So far I just copied the cohort add-user page and I have it so that I can supply a list of users, add and remove and submit but when I search I get a javascript JSON error. Does anyone have an example of a plugin that uses the user selection form so that I can review. (preferably something that is easy smile 


The error is:

parse@[native code]
ln: 23
http://localhost:8888/moodle/theme/yui_combo.php?r
parse
ln: 2969
http://localhost:8888/moodle/lib/javascript.php&#x
handle_response
ln: 40
http://localhost:8888/moodle/theme/yui_combo.php?r
_notify
ln: 31
http://localhost:8888/moodle/theme/yui_combo.php?r
notify
ln: 23
http://localhost:8888/moodle/theme/yui_combo.php?r
_notify
ln: 43
http://localhost:8888/moodle/theme/yui_combo.php?r
_procSubs
ln: 27
http://localhost:8888/moodle/theme/yui_combo.php?r
fireSimple
ln: 39
http://localhost:8888/moodle/theme/yui_combo.php?r
_fire
ln: 27
http://localhost:8888/moodle/theme/yui_combo.php?r
fire
ln: 26
http://localhost:8888/moodle/theme/yui_combo.php?r
_evt
ln: 18
http://localhost:8888/moodle/theme/yui_combo.php?r
complete
http://localhost:8888/moodle/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1454814211/mcore-debug.js:23968:28

Thanks,

Gavin


Attachment Screen_Shot_2016-02-08_at_11_19_03_AM.jpg
Average of ratings: -