Set a hidden type in the form to reference which settings you want for this form.
Example: (Form A would have) <input type="hidden" name="settings" value="Asettings.php">
Example: (Form B would have) <input type="hidden" name="settings" value="Bsettings.php">