- Home
- /
- Design
- /
- DMBFormBuilder
- /
- Date inputs
Date Input Fields
InputSpecialFieldBuilderExtensions documentationDate input helpers configure TextFieldBuilder for browser-native date controls while preserving labels, validation feedback and presentation modes.
Code Examples
DateInputFields.cshtml
@Html.DateFieldBuilderFor(m => m.DueDate).Render()
@Html.DateFieldBuilderFor(m => m.FloatingDate).SetLabelPresentation(FormLabelPresentation.Floating).Render()
@Html.DateFieldBuilderFor(m => m.InlineDate).SetLabelPresentation(FormLabelPresentation.Inline).Render()
@Html.DateFieldBuilderFor(m => m.HiddenDate).SetLabelPresentation(FormLabelPresentation.Hidden).Render()
@Html.DateFieldBuilderFor(m => m.DisabledDate).SetDisabled().Render()
Session Consent : Consent to use session for this website