Skip to content
Snippets Groups Projects
Commit e8bea19f authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Limit number of characters in input field [BN-15]

parent 585d6d89
Branches
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="ownerName">Tlf til eier av lokalitet</label> <label for="ownerName">Tlf til eier av lokalitet</label>
<input type="text" class="form-control" name="ownerPhone" placeholder="Tlf til eier av lokalitet" value="${(seasonTrapsite.ownerPhone)!""}" onblur="validateField(this);"/> <input type="text" class="form-control" maxlength="31" name="ownerPhone" placeholder="Tlf til eier av lokalitet" value="${(seasonTrapsite.ownerPhone)!""}" onblur="validateField(this);"/>
<span class="help-block" id="${formId}_ownerPhone_validation"></span> <span class="help-block" id="${formId}_ownerPhone_validation"></span>
</div> </div>
<#if userIsAdmin || userIsCountyAdmin> <#if userIsAdmin || userIsCountyAdmin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment