Jump to content

Cannot send variables to Domain Availability Checker?


pdpd

Recommended Posts

Hi Guys,

 

Our website header is based on Flash, and it has a built in area for domain lookup.

(This is two text boxes, one for sld, one for tld).

 

This is working fine for 'Domain Ordering' (from the integration code in the WHMCS admin area) by using this ActionScript code on the 'Check Domain' button:

 

getURL("http://www.mydomain.com/cart.php?a=add&domain=register&sld="+sld.text+"&tld=."+tld.text,"_top","POST");

 

However, we want it to send the info to the 'Domain Availability Lookup' rather than 'Domain Ordering' as this then sends the customer through the process of ordering hosting to go along with the domain intuitively,

 

The problem is, sending variables along with the form post doesnt seem to work:

 

getURL("http://www.mydomain.com/domainchecker.php?hidden=true&domain="+enterdomain.text+"&ext=."+entertld.text,"_top","POST");

 

.. just opens the domain availability checker with no domain entered. (We have disabled Captcha by the way)

 

Any ideas? We'd really like to use the second method, as this is the same way our legacy MB install used to work and what our customers are used to. Or alternatively, is there another variable we can send along with the first method that would take the user to choose a hosting package straight after the domain check?

 

Cheers

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