Handles empty form fields for module mapping