There is an input type:
<input type="email" class="form__field" name="login_form[username]" value="email" required /> <input type="pass" class="form__field" name="login_form[password]" value="email" required /> The handler accepts: utils :: validate_user_data ($ _POST ['login_form']); I need to transfer this array through Ajax.