title: How to Set Form Validation Rules for CodeIgniter Dynamically?
body: <p>With the new version of CodeIgniter; you can only set rules in a static <code>form_validation.php</code> file. I need to analyze the posted info (i.e. only if they select a checkbox). Only then do I want certain fields to be validated. What's the best way to do this, or must I use the old form validation class that is deprecated now?</p>