sheling Posted May 19, 2015 Share Posted May 19, 2015 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> 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 21, 2015 WHMCS Support Manager Share Posted May 21, 2015 Hi, The 'Domain Ordering' integration code can be used for this. Change the reference to cart.php?a=add&domain=register to cart.php?a=add&domain=transfer and it will work. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.