ShaheemAkhtar Posted April 9 Share Posted April 9 Hi, I want to remove some fields from the registeration form, I have already have marked the fields optional fron general settings<other, now I want to hide them also, so I have to edit clientregister.tpl file but I dont have any coding knowladge 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted Friday at 12:16 AM Share Posted Friday at 12:16 AM You can hide fields from the form by adding the following attribute to the associated div: style="display:none": <div class="sub-heading"> <span>{$LANG.orderForm.personalInformation}</span> </div> <div class="row"> <div class="col-sm-6" style="display:none"> <div class="form-group prepend-icon"> <label for="inputFirstName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="firstname" id="inputFirstName" class="field form-control" placeholder="{$LANG.orderForm.firstName}" value="{$clientfirstname}" {if !in_array('firstname', $optionalFields)}required{/if} autofocus> </div> </div> <div class="col-sm-6"> <div class="form-group prepend-icon"> <label for="inputLastName" class="field-icon"> <i class="fas fa-user"></i> </label> <input type="text" name="lastname" id="inputLastName" class="field form-control" placeholder="{$LANG.orderForm.lastName}" value="{$clientlastname}" {if !in_array('lastname', $optionalFields)}required{/if}> </div> </div> 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.