5 responses to “CodeIgniter Form Validation — Conditional Required Field”

  1. David

    heya! thanks for this. worked like a charm.

  2. Nextra

    Good tip, works great. Thanks.

  3. Tahsin Hasan

    Hi,

    see the codeigniter validation library on tahsin’s garage

  4. John

    I’ve encountered a problem while trying to confirm a password as you did above: When there’s a mismatch between password and confirm, it says “The Password field does not match the password_confirm field”, instead of “The Password field does not match the password confirmation field”.

  5. Rik Davis

    I thought I would post this here. Perhaps others might find it useful. I developed this form validation library as an attempt to try to somewhat replicate Perl’s DataFormValidator module.

    Code Igniter Form Validate
    Please leave comments on the Github page rather then here.

Leave a Reply