Updated example12 to show text input.