Jump to content

Custom registrar module - custom input types for Contact Details


Recommended Posts

Hello,

 

Is it possible to build custom input types (e.g. a select) in Admin area for a domain's Contact Details?

 

For example, I wrote the following code to display the values:

function myregistrar_GetContactDetails($params) {

   ... insert authentication code here ...

   $resp = $client->send($msg);

   // Data should be returned in an array as follows
   $values["Registrant"]["Name"] = $result['registrant']['name'];
   $values["Registrant"]["Lastname"] = $result['registrant']['lastname'];

   ... some more fields ...

   $values["Registrant"]["Entity Type"] = $result['registrant']['entityType'];

   return $values;
}

 

Given that entityType is an integer which represents if the registrar is an individual, a business organization, a no-profit organization... and so on, I'd like to represent it as a Select input type in the Admin area.

 

Is it possible?

 

Thank you in advance :)

 

Francesco

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