Jump to content

Google voice


dare87

Recommended Posts

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.

<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

 

 

Link to comment
Share on other sites

Did you not read the code? That is what it is right now. If you right click a view the page source you can see it. That is not my biggest concern. I don't want it to go to the google page that says ok=true/false

 

 

 

Fill the blanked id with a hiddenf ield, lol

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.