lundi 15 novembre 2021

Codegniter - Unable to access an error message corresponding to your field name Password.(mathches)

I'm learning how to create a login page but I'm having trouble in this section

    <div class="form-group">
        <input type="text" class="form-control form-control-user" id="email" name="email" placeholder="Email Address" value="<?= set_value('email'); ?>">
        <?= form_error('email', '<small class="text-danger pl-3">', '</small>'); ?>
    </div>
    <div class="form-group row">
        <div class="col-sm-6 mb-3 mb-sm-0">
            <input type="password" class="form-control form-control-user" id="password1" name="password1" placeholder="Password">
            <?= form_error('password1', '<small class="text-danger pl-3">', '</small>'); ?>
        </div>
        <div class="col-sm-6">
            <input type="password" class="form-control form-control-user" id="password2" name="password2" placeholder="Repeat Password">
        </div>



Aucun commentaire:

Enregistrer un commentaire