EZi Posted October 23, 2012 Share Posted October 23, 2012 Greetings gurus, I have a small question which has stumped me. We sell a lot of .com.au domain names and we have just started in WHMCS. We picked ResellerClub as our new registrar. During our testing we found that clients do not understand the form very well. Is it possible (and if so, how), to pre-populate the "Eligibility Name" input box with the answer the client provided in the "Registrant Name" input box. Same with the other 2 input boxes but I'll figure this out once I can see how this is done. Ie, the client fills in this part of additionaldomainfields.php $additionaldomainfields[".com.au"][] = array("Name" => "Registrant Name", "LangVar" => "autldregname", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true,); and $additionaldomainfields[".com.au"][] = array("Name" => "Eligibility Name", "LangVar" => "autldeligname", "Type" => "text", "Size" => "20", "Default" => "", "Required" => false,); is automatically pre-populated. Your advice would be tremendous... Cheers, Rene 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 23, 2012 Share Posted October 23, 2012 The Eligibility Name is not required for a .com.au name and does not need to be there. Here are my changes that I have made to the additionaldomainfields.php file // .AU $additionaldomainfields[".com.au"][] = array("Name" => "Registrant Name", "LangVar" => "autldregname", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true, "Description" => "Your Registered Business Name",); $additionaldomainfields[".com.au"][] = array("Name" => "Registrant ID Type", "LangVar" => "autldregidtype", "Type" => "dropdown", "Options" => "ABN,ACN,Business Registration Number", "Default" => "ABN",); $additionaldomainfields[".com.au"][] = array("Name" => "Registrant ID", "LangVar" => "autldregid", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true, "Description" => "Your Registered ABN/ACN/BRN number",); $additionaldomainfields[".com.au"][] = array("Name" => "Eligibility Type", "LangVar" => "autldeligtype", "Type" => "dropdown", "Options" => "Charity,Citizen/Resident,Club,Commercial Statutory Body,Company,Incorporated Association,Industry Body,Non-profit Organisation,Other,Partnership,Pending TM Owner ,Political Party,Registered Business,Religious/Church Group,Sole Trader,Trade Union,Trademark Owner,Child Care Centre,Government School,Higher Education Institution,National Body,Non-Government School,Pre-school,Research Organisation,Training Organisation", "Default" => "Company",); $additionaldomainfields[".com.au"][] = array("Name" => "Eligibility Reason", "LangVar" => "autldeligreason", "Type" => "radio", "Options" => "Domain name is an Exact Match Abbreviation or Acronym of your Entity or Trading Name.,Close and substantial connection between the domain name and the operations of your Entity.", "Default" => "Domain name is an Exact Match Abbreviation or Acronym of your Entity or Trading Name.",); $additionaldomainfields[".net.au"] = $additionaldomainfields[".com.au"]; $additionaldomainfields[".org.au"] = $additionaldomainfields[".com.au"]; $additionaldomainfields[".org.au"][] = array("Name" => "Eligibility Name", "LangVar" => "autldeligname", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true, "Description" => "Your Registered Organisation/Association Name",); $additionaldomainfields[".org.au"][] = array("Name" => "Eligibility ID", "LangVar" => "autldeligid", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true, "Description" => "Your Organisation/Association Number",); $additionaldomainfields[".org.au"][] = array("Name" => "Eligibility ID Type", "LangVar" => "autldeligidtype", "Type" => "dropdown", "Options" => ",Australian Company Number (ACN),ACT Business Number,NSW Business Number,NT Business Number,QLD Business Number,SA Business Number,TAS Business Number,VIC Business Number,WA Business Number,Trademark (TM),Other - Used to record an Incorporated Association number,Australian Business Number (ABN)", "Default" => "",); $additionaldomainfields[".asn.au"] = $additionaldomainfields[".org.au"]; $additionaldomainfields[".id.au"][] = array("Name" => "Registrant Name", "LangVar" => "auidtldregname", "Type" => "text", "Size" => "20", "Default" => "", "Required" => true, "Description" => "Your Full Name",); $additionaldomainfields[".id.au"][] = array("Name" => "Eligibility Type", "LangVar" => "autldeligtype", "Type" => "dropdown", "Options" => "Citizen/Resident", "Default" => "Citizen/Resident",); $additionaldomainfields[".id.au"][] = array("Name" => "Eligibility Reason", "LangVar" => "autldeligreason", "Type" => "radio", "Options" => "Domain name is an Exact Match Abbreviation or Acronym of your Entity or Trading Name.,Close and substantial connection between the domain name and the operations of your Entity.", "Default" => "Domain name is an Exact Match Abbreviation or Acronym of your Entity or Trading Name.",); Should make life easier. 0 Quote Link to comment Share on other sites More sharing options...
EZi Posted October 23, 2012 Author Share Posted October 23, 2012 Thanks, That looks a lot simpler. In addition I made the Close & substantial rule default as most domains now are within this group... Thanks for your help. $additionaldomainfields[".com.au"][] = array("Name" => "Eligibility Reason", "LangVar" => "autldeligreason", "Type" => "radio", "Options" => "Domain name is an Exact Match Abbreviation or Acronym of your Entity or Trading Name.,Close and substantial connection between the domain name and the operations of your Entity.", "Default" => "Close and substantial connection between the domain name and the operations of your Entity.",); 0 Quote Link to comment Share on other sites More sharing options...
EZi Posted November 25, 2012 Author Share Posted November 25, 2012 Hi again, We are having tonnes of problems with .xxx.au domains. It wants to validate the ABN no matter what ID is chosen. We use resellerclub... Any suggestions? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 25, 2012 Share Posted November 25, 2012 WHMCS does not validate the ABN at all. That must be something in the resellerclub module so be to contact them at your ABN validation problem. 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.