SMBTom Posted June 3, 2012 Share Posted June 3, 2012 Hi, I'm trying to add a custom client field 'Mobile phone number' just below the default 'Phone number'. I've added the new field in Setup->Custom client fields. It also gives the option to set the 'display order'. As default this is set to 0. Here's where the new field displays on the front end: If I change the 'display order' to a different number 9I've tried many different numbers!), it still stays in the same place on the front end. Can anyone tell me how to move this field to the correct position (as per the above screenshot)? Thanks, Tom 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 5, 2012 WHMCS Support Manager Share Posted June 5, 2012 Hi, The sort order is the order amongst other custom fields, not the order form itself. To change the position of custom fields entirerly you'd need to edit the templates/default/clientregister.tpl and move: {foreach key=num item=customfield from=$customfields} <div class="clearfix"> <label for="customfield{$customfield.id}">{$customfield.name}</label> <div class="input"> {$customfield.input} {$customfield.description} </div> </div> {/foreach} 0 Quote Link to comment Share on other sites More sharing options...
SMBTom Posted June 23, 2012 Author Share Posted June 23, 2012 Thanks John, that's most helpful 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.