# Make ChoiceMenu not fillable in hyperref form dependent on other ChoiceMenu

I have a form and there is a ChoiceMenu with three different possibilities. For two of them I have a further ChoiceMenu and it does not make sense to fill them out if the belonging option of the first ChoiceMenu is not selected. I tried to achieve this with the option readonly and some JavaScript code. But unfortunately nothing happens when I do this. Here is my code:

\documentclass[a4paper,10pt, hidelinks]{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[margin=1.5cm]{geometry}
\usepackage{tabularx}

\usepackage{makecell,
tabularx}
\setcellgapes{3pt}
\usepackage{enumitem}

\usepackage{hyperref}

\begin{document}

\begin{Form}

\begin{itemize}
Aktuell keine Anerkennung