Jump to content

Search & transfer domian button link to cart.php


sheling

Recommended Posts

I hope my homepage can have search & transfer button for domain, and i want search domain direct got to cart.php?a=add&domain=register

 

But when i changed action="domainchecker.php" to action="cart.php?a=add&domain=register"

the transfer button cannot function.

 

can i make when search btn is clicked go to "cart.php?a=add&domain=register; while transfer button is clicked, will go to cart.php?a=add&domain=transfer?

 

 

 

<form method="post" action="cart.php?a=add&domain=register">

<input class="bigfield" name="domain" type="text" value="{$LANG.domaincheckerdomainexample}" onfocus="if(this.value=='{$LANG.domaincheckerdomainexample}')this.value=''" onblur="if(this.value=='')this.value='{$LANG.domaincheckerdomainexample}'" />

 

<div class="internalpadding">{if $condlinks.domainreg}<input type="submit" value="{$LANG.checkavailability}" class="btn btn-primary btn-large" /> {/if}{if $condlinks.domaintrans}<input type="submit" name="transfer" value="{$LANG.domainstransfer}" class="btn btn-success btn-large" />{/if}</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