Show/hide another input fields using h:selectBooleanCheckbox

后端 未结 3 547
猫巷女王i
猫巷女王i 2020-12-09 19:06

I am using JSF2 and Java to build a web application. I want to build a form like the one at the picture below:

\

3条回答
  •  时光说笑
    2020-12-09 19:13

    You could do it by jQuery, or another JavaScript. It is also possible by , but it connects to the server, which you don't need here.

    By jQuery you can just hide the form, not changing the DOM. As far as I understand, it should be enough.

    Post some .xhtml if you want more :)

提交回复
热议问题