Forum Forums Bocons Validation not working

Viewing 1 post (of 1 total)
  • Author
    Posts
  • magisystem
    Participant
    Post count: 25

    Hello, I’m using now the Bocons taghelpers and the validation is not working. I see a duplicated id on every form input (randomly generated).

    Here a sample of the rendered html

    
    <div class="form-group row">
    	<label class="col-md-2 col-form-label" for="input-92e65a0cb2c543afab559369c5d47748">Ragione sociale<span class="required" aria-required="true"> * </span></label>
    	<div class="col-md-10">
    		<input class="form-control select-cliente" autocomplete="aaa" type="text" data-val="true" data-val-length="The field Ragione sociale must be a string with a maximum length of 200." data-val-length-max="200" data-val-required="The Ragione sociale field is required." id="Item_RagioneSociale" name="Item.RagioneSociale" value="Anonima ladroni" id="input-92e65a0cb2c543afab559369c5d47748" required="required" /><div class="field-validation-valid invalid-feedback" data-valmsg-for="Item.RagioneSociale" data-valmsg-replace="true">
    	</div>
    </div>
    
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.