Can you still trade in your iphone for credit towards a new one if you cracked the screen?

I've had my phone for 2 years now and just yesterday i dropped it and it cracked pretty badly. I visited the apple website to see how much my phone is worth but i couldn t find anything about eligibility once its cracked.

Yes, they started allowing phones with cracked screens to be traded in last year. You'll obviously get less than you normally would if it wasn't cracked.

The screen has to be fixed by APPLE, if it is done anywhere else they (APPLE) can refuse to do the trade in (if that is what the deal is).

Could ask Apple Support via Twitter. I'd expect 2 answers, either it would be but of course at a reduced value or they wouldn't at all.