Feature Requests
Share ideas, discuss and vote on requests from other users in community
This object is in archive! 
Additional Domain Fields: Increase HTML customisation options
Under Consideration
At the moment the HTML for additional domain fields is spat out using a single macro in the templates ($domainfield):
- {foreach from=$domain.fields key=domainfieldname item=domainfield}
- <tr><td class="fieldlabel">{$domainfieldname}</td><td>{$domainfield}</td></tr>
- {/foreach}
Please make this instead work in a similar way to product customfields, eg:
- {foreach key=num item=customfield from=$customfields}
- <tr><td class="fieldlabel">{$customfield.name}:</td><td>{$customfield.input}{if $customfield.description}<br /><small>{$customfield.description}</small>{/if}</td></tr>
- {/foreach}
Because then you can do customisation of the additional domain fields on a field by field basis; such as adding an id to the field (making it possible/easier to do jquery type stuff on the field itself such as AJAX verification, making fields mandatory in javascript until https://requests.whmcs.com/responses/additional-domain-fields-support-mandatory-compulsory-checkboxes-values gets resolved), changing the formatting of a particular field, etc.
It's, y'know, good for consistency too.
Comments have been locked on this page!