diff --git a/admin/webservice/forms.php b/admin/webservice/forms.php index 91aa0585b54bc..db996f8e5a02e 100644 --- a/admin/webservice/forms.php +++ b/admin/webservice/forms.php @@ -63,6 +63,7 @@ function definition() { $mform->addElement('text', 'name', get_string('name')); $mform->addRule('name', get_string('required'), 'required', null, 'client'); + $mform->setType('name', PARAM_TEXT); $mform->addElement('advcheckbox', 'enabled', get_string('enabled', 'webservice')); $mform->addElement('advcheckbox', 'restrictedusers', get_string('restrictedusers', 'webservice'));