hello, I am building a new website for my web design business and am making a page that offers hosting and registration services. I would like to include a form that links directly to dreamhosts domain registration page so that visitors can check availability and if they choose register directly with Dreamhost. It would be nice if the form I create enabled the visitor to enter the name directly into the form and have the result open the dreamhost page in a new window.
I was told by Tech support that I should handle this with the API, but I really don’t understand how to use the API in an HTML form. I have a key and I set it up with what seemed like the appropriate cmd (domain-registration_available), but what do I do from there?