red , green , and other (please specify) and when other is chosen input is shown that allows entering any value.
I think this is quite common behaviour in web forms but struggle to find a good solution. I can have text input depending on radio and display it only when other` is selected but: