Moodle注册表编辑 [英] Moodle Registration Form Edit

查看:102
本文介绍了Moodle注册表编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是moodle 2.8.1

I am using moodle 2.8.1

我的问题是关于 Moodle 注册表:

My query is regarding Moodle registration form:

我想添加一个确认密码字段,该字段与电子邮件(再次)字段相同.

I want to add a confirm password field which would be required same as Email(again) field.

并删除电子邮件(再次)字段.

And remove the Email(again) field.

而且它也没有显示电话号码.注册表单中未锁定的字段.

And also it is not showing the phone no. fields in registration form while they are unlocked.

推荐答案

我们做了一个 小型开源模块涵盖此用例.

We made a small open source module covering this use case.

它使用 addRule 和比较规则在注册表单中动态添加字段以及必要的验证.

It adds the field on the fly in the registration form, along with the necessary validation, using addRule and the compare rule.

这篇关于Moodle注册表编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆