Hi, i gave a quite look fast, and what i can do is pointing you to this file that seems to be responsable of what you need.
The file /usr/share/nginx/html/rd_login/cc/m/js/rdConnect.js
{
view : 'text',
label : 'Cell',
name : 'phone',
placeholder : 'Supply a value',
bottomLabel : "* The number must have 10 digits",
required : true
},
what you can do is change the required field from true to false . In this way you can skip the compilation of the field. You can also change the placeholder from "Supply a Value" to "Optional Value" so the precompiled field will show to be a optional field.
I have not investigated further and see if you can remove/comment the whole field, if could be a part of a function, so it could be better if it has an empty value rather than do not exists.. but you can try and see.
Hope it helps.
Cheers.
EDITED: I checked this and it is NOT working, because the field still needs 10 digits. It needs ore work and the whole field needs to be removed. if you are still interested i will write you down what to change to fully remove the Phone Field.
Last edit: neXus 2016-06-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello :)
I use Radisudesk with a Mikrotik os routeur and all work good.
I wonder if it is possible to change the required fields for hotspot registration.
For now we have :
i would like to remove the cell field
Thanks in advance for helping me :)
Last edit: Khalid 2016-02-19
I'm Interested also.
Did you managed to found a solution ?
Thanks
Hi, i gave a quite look fast, and what i can do is pointing you to this file that seems to be responsable of what you need.
The file /usr/share/nginx/html/rd_login/cc/m/js/rdConnect.js
{
view : 'text',
label : 'Cell',
name : 'phone',
placeholder : 'Supply a value',
bottomLabel : "* The number must have 10 digits",
required : true
},
what you can do is change the required field from true to false . In this way you can skip the compilation of the field. You can also change the placeholder from "Supply a Value" to "Optional Value" so the precompiled field will show to be a optional field.
I have not investigated further and see if you can remove/comment the whole field, if could be a part of a function, so it could be better if it has an empty value rather than do not exists.. but you can try and see.
Hope it helps.
Cheers.
EDITED: I checked this and it is NOT working, because the field still needs 10 digits. It needs ore work and the whole field needs to be removed. if you are still interested i will write you down what to change to fully remove the Phone Field.
Last edit: neXus 2016-06-17
lock https://sourceforge.net/p/radiusdesk/discussion/help/thread/90e3bddf/