danyb
01-18-10, 07:12 PM
Hi,
I've created a simple domain form outside (domain1.com) the WHMCS pages with this code:
<form action="http://www.domain2.com/domainchecker.php" method="post">
<div align="center" class="contentbox checker" style="direction:ltr;"> www.
<input type="text" size="40" value="" name="domain"/>
<input type="submit" value="search" id="Submit"/>
<table cellspacing="0" cellpadding="10" border="0" align="center">
<tbody><tr>
<td align="left"><input type="checkbox" value=".com" name="tlds[]"/>.com</td>
<td align="left"><input type="checkbox" value=".org" name="tlds[]"/>.org</td>
</tr></tbody>
</table>
</div>
</form>
when I search something, I'm redirected to the domainchecker page, the domain name is passed, the TLDs are not passed, and the search didn't work.
any way to make this work...?
It work great with a dropdown menu but not a checkbox.
Regards,
Danyb
I've created a simple domain form outside (domain1.com) the WHMCS pages with this code:
<form action="http://www.domain2.com/domainchecker.php" method="post">
<div align="center" class="contentbox checker" style="direction:ltr;"> www.
<input type="text" size="40" value="" name="domain"/>
<input type="submit" value="search" id="Submit"/>
<table cellspacing="0" cellpadding="10" border="0" align="center">
<tbody><tr>
<td align="left"><input type="checkbox" value=".com" name="tlds[]"/>.com</td>
<td align="left"><input type="checkbox" value=".org" name="tlds[]"/>.org</td>
</tr></tbody>
</table>
</div>
</form>
when I search something, I'm redirected to the domainchecker page, the domain name is passed, the TLDs are not passed, and the search didn't work.
any way to make this work...?
It work great with a dropdown menu but not a checkbox.
Regards,
Danyb