Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
im interested in using the html attribute "placeholder" to house the label of the text input field.
With v3 thanksfully its possible to schange the markup. But...
<input type="text" name="@Model.Name" id="@Model.Id" class="text" placeholder="@Model.Label" value="@Model.Value"...
Returns an error.
What's the correct syntax for getting the field label inside the placeholder attribute?
Got it. It's
<input type="text" name="@Model.Name" id="@Model.Id" class="text" placeholder="@Model.Caption" ...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using label as placeholder
im interested in using the html attribute "placeholder" to house the label of the text input field.
With v3 thanksfully its possible to schange the markup. But...
Returns an error.
What's the correct syntax for getting the field label inside the placeholder attribute?
Got it. It's
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.