Bonjour,
Je suis en train de travailler sur un formulaire, et il doit gérer dynamiquement les champs, ma question est de savoir si c'est possible de gérer dynamiquement les champs sans utiliser le JS, par exemple si je sélectionne 10 pour le champ textCOP, les 3 derniers champs ne doivent pas s'afficher, et certains champs doivent se préremplir...
Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <html:form action="/ACIN.do"> *<bean:message key="tcpip.codeOp"/> : <html:select property="textCOP" value="10"> <html:option>10</html:option> <html:option>11</html:option> <html:option>21</html:option> <html:option>22</html:option> <html:option>23</html:option> <html:option>24</html:option> <html:option>30</html:option> <html:option>31</html:option> <html:option>40</html:option> </html:select> *<bean:message key="tcpip.codeIns"/> : <html:text property="txtINS" size="30" maxlength="6"/> *<bean:message key="tcpip.codeSubIns"/> : <html:text property="txtSUBINS" size="30" maxlength="6"/> *<bean:message key="tcpip.seqAddr"/> : <html:text property="txtSEQADDR" size="20" maxlength="2"/> *<bean:message key="tcpip.typeAddr"/> : <html:text property="txtTYPEADDR" size="30" maxlength="6"/> *<bean:message key="tcpip.nom"/> : <html:text property="txtNOM" size="60" maxlength="50"/> *<bean:message key="tcpip.rue"/> : <html:text property="txtRUE" size="60" maxlength="50"/> *<bean:message key="tcpip.ville"/> : <html:text property="txtVILLE" size="60" maxlength="50"/> </html:form>
Partager