Welcome Guest, Not a member yet? Register   Sign In
[REQUEST] Form Validation : Requires Field 1 Or Field 2

(This post was last modified: 06-04-2015, 07:52 AM by Kavatah.)

Hi CI Community.

I need your help figuring out my specific need for my Form Validation rules.

I have a form with several fields.
I need to create three fields with RulesĀ as :
(Field 1 AND Field 2 are Required) OR (Field 3 is required)

For the first group with "AND", I will probably use this extension : http://forum.codeigniter.com/thread-2244...#pid143670

However, I'm not sure how to do the "OR" part.

Any ideas ?

Thank you advance,

Theme © iAndrew 2016 - Forum software by © MyBB