Deductions & credits

So if you take the standard deduction, you do not get to deduct state tax, is that correct? It is only if you itemize deductions? We will be using TurboTax to file, so maybe that will help. TurboTax will know based on how you answer your questions. Right?