AnsweredAssumed Answered

How to Resize Input Text Field in HBS for Custom Field Type?

Question asked by Haroon Khaleeq on Oct 20, 2014
Latest reply on Oct 22, 2014 by Haroon Khaleeq
Hi Everyone,

I have a custom phone field. I just want to make phone field and it's type on the same line (row).
Any suggestions ?
I am attaching a screen shot for your better understanding.
The Handle bar Template HBS code is also given below.

Thanks,
Haroon



<div class="control-group email">
    <input name="existingAddress" id="existingAddress" type="text" class="existingAddress" {{#if max_length}} maxlength="{{max_length}}"{{/if}} placeholder="{{str "LBL_PHONE_PT"}}" value="{{email_address}}">
    <input type="text" name="existingType" id="existingType" class="existingType" {{#if max_length}} maxlength="{{max_length}}"{{/if}} placeholder="{{str "LBL_PHONE_PT_TYPE_ADD"}}" value="{{phone_pt_type}}" >
    <div class="btn-toolbar prevent-mousedown">
        <div class="btn-group" data-toggle="buttons-checkbox">
            <button type="button" class="{{#if primary_address}}active {{/if}}is_primary btn btn-edit" data-emailproperty="primary_address" rel="tooltip" title="{{str "LBL_EMAIL_PRIMARY"}}"><i class="icon-star"></i></button>           
        </div>
        <div class="btn-group prevent-mousedown">
            <a href="javascript:void(0)" class="btn removeEmail" rel="tooltip" title="{{str "LBL_REMOVE"}}"><i class="icon-minus"></i></a>
        </div>
    </div>
</div>

Outcomes