Google voice

Posted on 16th Feb 2014 by admin

I currently have a form in html, but I want it in php so the information is not in the source code.

It all works and when you put in the name and number it will call. When you push the call button it goes to a google page that say "ok=true" or "ok=false". Is there a way to make it so that it just stays on the same page that the form is on?

Here is the code.
Code: [Select]<form action="https://clients4.google.com/voice/embed/webButtonConnect" method="post">
<input type="hidden" name="buttonId" id="buttonId" value="000000000000000000" />
<input type="hidden" name="showCallerNumber" id="showCallerNumber" value="1" />
<p>
<label>Name
<input type="text" name="name" id="name" />
</label>
</p>
<p>
<label>Number
<input type="text" name="callerNumber" id="callerNumber" />
</label>
</p>
<p>
<label>
<input type="submit" name="button" id="button" value="Call Nayliner" />
</label>
</p>
</form>

This current code will always produce false because I blanked the id value

Other forums