Wikipedia says that a commutative ring $A$ is a field iff $A[x]$ is a PID.
The "only if" part is easy: we just apply the Euclidean algorithm. I've stumbled trying to prove the "if" part, though.
$\newcommand{\aa}{\mathfrak{a}}$ My best attempt so far: suppose $\aa$ is an ideal of $A$, and $\aa'$ is the ideal of $A[x]$ spanned by $i(\aa)$, where $i: A \hookrightarrow A[x]$ is the natural embedding. $i^{-1}(\aa') = \aa$ for grading reasons ($i(A) = A[x]^0$, and multiplication by a non-zero degree polynomial takes us out of $i(A)$, because $A \cong i(A)$ is integral). $A[x]$ is a PID so $\aa' = (a')$, where $a' = i(a)$ for some $a \in A$. Therefore, $\aa = (a)$, and thus $A$ is also a PID.
That's the best way to use the fact that $A[x]$ is a PID that I've found so far. Now I feel like there must be a trick to show that if $a \neq 0$ then $a = 1$, but I don't know how to do this. Any hints?