Leaders can enable answer coding in adaptive surveys by selecting the settings icon, accessing the data handling module, and toggling the option on. After saving, an "Add or edit codes" feature becomes available for text responses, allowing the selection of unique codes for each question. It's important to ensure codes are distinct across all questions.