Menu

User registration option (Sign-up)

Help
Khalid
2016-02-19
2016-05-18
  • Khalid

    Khalid - 2016-02-19

    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 :

    • first name
    • surname
    • Email
    • password
    • cell

    i would like to remove the cell field

    Thanks in advance for helping me :)

     

    Last edit: Khalid 2016-02-19
  • Fabrizio Lazzaretti

    I'm Interested also.
    Did you managed to found a solution ?
    Thanks

     
    • neXus

      neXus - 2016-05-18

      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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.