misstheresa2009 Posted June 19, 2012 Share Posted June 19, 2012 Hello Everyone! Does anyone know how to disable some form fields on the registration form inside the client area? I don't want my clients to have to fill out so much information such as address, country, etc. I tried to find the answer but I didn't come up with anything. Can someone point me in the right direction? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
jrianto Posted June 21, 2012 Share Posted June 21, 2012 Open up clientregister.tpl template file and change the fields where you want to remove to a hidden input field and give it a value. For example: <tr> <td class="fieldarea">{$LANG.clientareaaddress1}</td> <td><input type="text" name="address1" size="40" value="{$clientaddress1}" /></td> </tr> Change that to: <input type="hidden" name="address1" value="notavailable" /> Do that with all the other fields you want to remove and provide with a VALID value for WHMCS to get the data and registers it for the client's data. 0 Quote Link to comment Share on other sites More sharing options...
misstheresa2009 Posted June 21, 2012 Author Share Posted June 21, 2012 Open up clientregister.tpl template file and change the fields where you want to remove to a hidden input field and give it a value. For example: <tr> <td class="fieldarea">{$LANG.clientareaaddress1}</td> <td><input type="text" name="address1" size="40" value="{$clientaddress1}" /></td> </tr> Change that to: <input type="hidden" name="address1" value="notavailable" /> Do that with all the other fields you want to remove and provide with a VALID value for WHMCS to get the data and registers it for the client's data. Thank you so much for replying to my message. I was going crazy trying to figure this out. I will try your instructions first, then post another reply if it works just so that someone else will know what to do. 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.