I'm struggling to create a mobile input box that separates the mobile number and country code with a divider or fixes the country code in the field without success.
Something similar to this image: https://i.sstatic.net/6HwYdZrB.png
But I don't need any flags or extra elements.
This is the current code I have been working on:
<div class="form-group">
<label for="u_tel" class="control-label">Customer phone number:<sup>*</sup> (Please DO NOT include the +36/06 area code)</label>
<input type="text" value="{$user_data.u_tel}" class="form-control" id="u_tel" name="u_tel" placeholder="701234567 (Please provide phone number without area code and spaces)" required data-required-error="Please enter your phone number" minlength="8" maxlength="9">
<div class="help-block with-errors"></div>
</div>