daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jun 21st, 2015 247 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @model Umbraco.Forms.Mvc.Models.FieldViewModel
  2. <input type="text" name="@Model.Name" id="@Model.Id" class="text" value="@Model.Value" maxlength="500"
  3. @{if(Model.Mandatory || Model.Validate){<text>data-val="true"</text>}}
  4. @{if (Model.Mandatory) {<text> data-val-required="@Model.RequiredErrorMessage"</text>}}
  5. @{if (Model.Validate) {<text> data-val-regex="@Model.InvalidErrorMessage" data-regex="@Html.Raw(Model.Regex)"</text>}}
  6. />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top