How to make a phone entry form on the website and open the program?

  • 0
    There is a website and a MicroSIP program that supports links like "call: +79999999999".
    It is necessary to make a simple form on the site so that when you enter any phone number in the field and press the button, this program opens and a call to this number begins (using call :).

    How can this be done with HTML or JavaScript?
    JavaScript Anonymous, Aug 11, 2020

  • 2 Answers
  • 0
    If I understood correctly, then so.

    After entering the input, the button will have a link like call: + 7xxxxxxxxxx

    Anonymous

  • 0
    Create a text field ( input ) and a link ( a ). If you need to control the phone number in any way, use imask . Hang an event on a field (or mask), in which you change the link on the page in the format call: Field_value .
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!