skip to Main Content

Jquery – TypeScript: How to validate input fields with form checkboxes

I have a form with several checkboxes and corresponding input fields. <div class="group-wrap input-element" id="gr_"> <div class="label-bar"> <label> <div class="custom-control form-check"> <input class="form-check-input" value="1" type="checkbox" id="Gleitzeitmaxstundenenable" name="Gleitzeitmaxstundenenable" onmouseup="{setActFeld(this.id);}" onfocus="{ setActFeld(this.id);}" onclick="{setConfirmedChange(this.id, &quot;false&quot;) ; initCheckBox(this.id);transaktionObj.inputEnable(this.checked,&quot;Gleitzeitmaxstunden&quot;);}"> <label class="form-check-label" for="Gleitzeitmaxstundenenable">Gleitzeit max.</label> </div> </label>…

VIEW QUESTION

Laravel – Access information with nested validation request

I want to access information within nested validation array to do a custom validation, here is my code: return [ ..., 'amount' => ['nullable', 'numeric'], 'currency_id' => ['nullable', 'integer', Rule::in($allowedCurrencyIds)], 'details' => ['nullable'], 'details.*.product_id' => ['required', 'integer', 'exists:products,id'], 'details.*.product_collection_id' =>…

VIEW QUESTION
Back To Top
Search