Ralf Fleischer - 2017-06-02

Hi,

to remove the Cell Field of the User registration option (Sign-up), open the rdConnect.js

row 1040 comment out

                            //{
                            //    view        : 'text',
                            //    label       : i18n('sCell'),
                            //    name        : 'phone',
                            //    placeholder : i18n('sSupply_a_value'),
                            //    bottomLabel : "* "+i18n('sThe_number_must_have_10_digits'),
                            //    required    : true
                            //},

and row 1087 comment out phone

                        rules       :{
                            "username"  : webix.rules.isEmail,
                            $all        : webix.rules.isNotEmpty,
                            //'phone'     : webix.rules.intNumber,
                            'password'  : function(value){ 
                                if(value.length >= 5){
                                    return value;
                                }
                            }
                        },

to change the required Digits from Cell-Field go to row 970 an change the Numer 10

webix.rules.intNumber = function(val){ return /^\d{10}$/.test(val); }

to change the require Digits from Cell-Field to only Int go to row 1090 an chage phone to

                            'phone'     : webix.rules.isNumber,

(https://docs.webix.com/api__rules_isnumber.html)

best greatings