I wrote a custom shortcode for Contact Form 7. It is a dropdown field that is pre-populated with values from the database. It works fine, and the values are shown in the email. However, I can't get the validation to work. I tried a custom validation with no success. I need somebody to fix this for me.
Notice: This is a quite special problem only for really advanced developers. Please, contact me if you REALLY know what you are doing.
Both, the working shortcode and the not-working validation are in the attached file.