• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[REQUEST] Form Validation : Requires Field 1 Or Field 2

#1
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,
Kavatah
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.