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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...