Support » Themes and Templates » Integrate form into wordpress

  • I tried to integrate my WHMCS domain search form in my site
    with the html code

    <form action="" method="post"><input type="hidden" name="token" value="abcdefghijik...." /> <input type="hidden" name="direct" value="true" /> <input onfocus="if (this.value=='Enter Domain to Search') this.value='';" type="text" name="domain" value="Enter Domain to Search" size="30" /><select name="ext"> <option>.com</option> <option>.net</option> <option>.org</option> <option>.biz</option> <option>.info</option> <option>.name</option> <option>.us</option> </select><input type="submit" value="Search" /></form>

    What I get is that the search button always align below the input box, I don’t know why it’s working like this in wordpress.. It appears fine if I input it in an .html file

Viewing 4 replies - 1 through 4 (of 4 total)
  • It might be because the width of the section isn’t long enough for the button and the input box. Try decreasing the input’s width or the button’s width so it fits (you can do that in css). If that doesn’t work then I think you can use css and floats to fix this. If you want I can do this for you but you would have to link to your site.

    Hi Ziv,

    thanks for the reply, I’ve just check and the width section is long enough.
    I tried to put into a normal page in wordpress default theme same result
    I don’t understand why it works in html not in wordpress

    I tried before floating with css but it doesnt work for me
    I wonder if there’s other ways or the smth wrong with my form syntax?

    anyone know any solution?

    help please

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Integrate form into wordpress’ is closed to new replies.