PHP Forum

Google voice

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

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">
Advertisement
<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" />
Advertisement
</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
Advertisement

0 answers

No answers posted yet. Be the first to answer.

Your answer

Login to answer

Trending today: see what people are reading