Hi Team
I want to have a corresponding input text on my form to have a space between FirstName and LastName. Any one who can help me on this logic, or reimplemt mine i have below here.
- class="input-group mb-2">class="input-group-prepend">
- ="firstName">Name:
class="input-group col-md-6 col-md-offset-6 col-sm-6 col-xs-6">- @Html.TextBoxFor(m => m.FirstName, new { @class = "form-control", type = "text", id = "firstname", autofocus = "autofocus", placeholder = "First Name", required = "required" })
- @Html.TextBoxFor(m => m.LastName, new { @class = "form-control", type = "text", id = "lastname", autofocus = "autofocus", placeholder = "Last Name", required = "required" })
Sreekanth ReddyPosted Mar 17, 2020, 4:14 AM
tag. Just use the form-group with col division as like below: