CPF input

User profile fields ::: profilefield_cpf
Maintained by Willian Mano
A cpf profile field type for moodle

CPF input Version for Moodle 2.2 onwards

Moodle 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1
Released: Saturday, 3 May 2014, 6:29 AM

CPF Profile Field

This is a CPF field to user profiles into moodle.

The Cadastro de Pessoas Físicas (CPF) – Portuguese for Natural Persons Register – is a number attributed by the Brazilian revenue agency (Receita Federal – Federal Revenue) to both Brazilians and resident aliens who pay taxes or take part, directly or indirectly, in activities that provide revenue for any of the dozens of different types of taxes existing in Brazil.

More about CPF: http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas

For Everyone

This plugin was made to add possibility to add CPF field in the user profile form.

Moodle documentation about profilefields -> http://docs.moodle.org/26/en/User_profile_fields

I recommend to insert a mask plugin to the CPF field. I did as follows:

Para Brasileiros

Como CPF é um padrão brasileiro, a explicação será em português. smile Este plugin foi criado para possibilitar a inclusão do campo cpf nos formulários de criação de novos usuários e também na alteração dos dados do usuário.

Documentação de como utilizar os profilefields -> http://docs.moodle.org/26/en/User_profile_fields

Recomendo inserir um plugin de máscara para o campo CPF. Eu fiz da seguinte forma: - Adicionei o plugin Jquery masked Input -> http://digitalbush.com/projects/masked-input-plugin/ - Adicionei o seguinte código referente à mascara do campo no tema utilizado: > jQuery("#profilefield_cpf").mask("999.999.999-99");

Installation

As usual:

  • Download the source code (zip or git clone)
  • Uncompress to user/profile/field/cpf
  • Go to Notifications

License

It is released as GPL v3.

Authors: * Willian Mano - http://willianmano.net

Copyright 2014 onwards Willian Mano (http://willianmano.net)

Version information

Version build number
2014041700
Version release name
Version for Moodle 2.2 onwards
Maturity
Stable version
MD5 Sum
a1dd91d7adb56b2b14fe138018b71edf
Supported software
PHP 5.3, PHP 5.4, Moodle 2.3, Moodle 2.4, Moodle 2.5, Moodle 2.6, PHP 5.5, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1
  • Latest release for Moodle 2.3
  • Latest release for Moodle 2.4
  • Latest release for Moodle 2.5
  • Latest release for Moodle 2.6
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • Latest release for Moodle 4.1

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type User profile fields

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myfield") in the "user/profile/field" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation