How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Domain custom field that applies to all TLDs



Hello,

Currently WHMCS has the ability to specified custom fields for domains that will show up on the order form and required the end user to provide more information, check a box, etc. At the moment, this functionality is tied to a specific TLD. It would be great if there was a way to apply it to one or more TLDs, rather than having to maintain multiple instances of the same definition.

For example, use * to apply a filed to all TLDs


$additionaldomainfields["*"][] = array(
"Name" => "Date of Birth",
"Type" => "text",
"Size" => "30",
);


or maybe use regex


$additionaldomainfields[".co(\.uk)?"][] = array(
"Name" => "Date of Birth",
"Type" => "text",
"Size" => "30",
);

Post the first comment

Login to post a comment.