20i Domains

wordpress platform posting a lead to an api

Discussion in 'Content Management Systems' started by keano, Jan 20, 2011.

Thread Status:
Not open for further replies.
  1. keano United Kingdom

    keano Active Member

    Joined:
    Oct 2004
    Posts:
    73
    Likes Received:
    10
    Hi All,

    Does anyone have a solution for a wordpress based site that needs to do an automated HTTP post of a web generated lead (with only a couple of form variables, such as name, phone, email, etc) to an API when leads are generated.

    Been searching around for some code, but I'm drawing a blank big time. I'm no expert coder but if someone had a code base, I'm sure I could work it out.

    Thanks,

    Mike
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. AssetDomains

    AssetDomains Well-Known Member

    Joined:
    Feb 2010
    Posts:
    3,075
    Likes Received:
    74
    Do you have some code from the lead company to paste into a standard web page if so you could hard code it into a custom wordpress page.
     
  4. keano United Kingdom

    keano Active Member

    Joined:
    Oct 2004
    Posts:
    73
    Likes Received:
    10
    I'm afraid not, so the code would need to be writen from scratch which is outside of my expertise that's for sure.
     
  5. AssetDomains

    AssetDomains Well-Known Member

    Joined:
    Feb 2010
    Posts:
    3,075
    Likes Received:
    74
    Guesing you may want just want something like this

    Code:
    <FORM action="Your API adress here" method="post">
        <P>
        <LABEL for="firstname">First name: </LABEL>
                  <INPUT type="text" id="firstname"><BR>
        <LABEL for="lastname">Last name: </LABEL>
                  <INPUT type="text" id="lastname"><BR>
        <LABEL for="email">email: </LABEL>
                  <INPUT type="text" id="email"><BR>
        <INPUT type="submit" value="Send"> <INPUT type="reset">
        </P>
     </FORM>
    
    Have a look here for some plugins that sound like they may be of some use the last one linked may exactly what you need http://news.softpedia.com/news/Magic-Forms-85273.shtml
     
  6. keano United Kingdom

    keano Active Member

    Joined:
    Oct 2004
    Posts:
    73
    Likes Received:
    10
    From one Wirralite to another - thanks mate!
     
Thread Status:
Not open for further replies.