Jump to content

CSS Domain Search with CHECK box's


x1halo1x

Recommended Posts

As the title implies.

Part of the WHMCS Integration code is included in this but with limited success. One thing i am noticing is that it is submitting the domain text field but not the check box information. is there something missing in this? also the whois returns with a message that i must be in domainchecker.php for it to work.. ??

 

 

<form action=".. /domainchecker.php" method="post" id="domain-form">
  <input type="hidden" name="token" value="example" /> 
  <input type="hidden" name="direct" value="true"> 
<div class="img-box"><img src="images/1page-img.jpg">
	<div class="extra-wrap">
		<fieldset>
			<span class="text">
				<input type="text" name="domain" value="enter domain name" onFocus="if(this.value=='enter domain name'){this.value=''}" onBlur="if(this.value==''){this.value='enter domain name'}">
				</span>
				<ul class="checkboxes wrapper">
					<li><input name="tlds[]" value=".com" checked="checked" type="checkbox"><label>.com</label></li>
					<li><input name="tlds[]" value=".net" type="checkbox"><label>.net</label></li>
					<li><input name="tlds[]" value=".org" type="checkbox"><label>.org</label></li>
					<li><input name="tlds[]" value=".me" type="checkbox"><label>.me</label></li>
					<li class="alt"><input name="tlds[]" value=".us" type="checkbox"><label>.us</label></li>
					<li><input name="tlds[]" value=".info" type="checkbox"><label>.info</label></li>
					<li><input name="tlds[]" value=".mobi" type="checkbox"><label>.mobi</label></li>
					<li><input name="tlds[]" value=".biz" type="checkbox"><label>.biz</label></li>
				</ul>
			</fieldset>
		</div>
	</div>
	<div class="wrapper">
		<a href="#" class="link2 fleft" onClick="document.getElementById('domain-form').submit()"><span><span>Check  Domain</span></span></a>
		<ul class="links fleft">
			<li><a href="#">Renew a domain</a></li>
			<li><a href="#">Transfer a domain</a></li>
			<li><a href="#" onclick="window.open('... /whois.php?domain={$result.domain}','whois','width=500,height=400,scrollbars=yes');return false">WHOIS</a></li>
		</ul>
	</div>
</form>

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated