This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I work with a form and I want to display a table which indicates the choices made by the user. I must check check boxes and radio buttons. The following method functions well for the text area: <tr> <td align="right"> <B>Name</B> </td> <td align="left"> <%request.getParameterValues(Name);% </td> </tr> But i nee to do the same with the radio buton and check boxes. Can somebody help me? Thanks Jeff
Hi, on the client side create all check box and radio button INPUT html tags with same name. Then you can use request.getParameter(valueofNameattribute) for Radio button and request.getParameterValues(valueofNameattribute) for checkboxes. request.getParameterValues returns array of strings, so you can look through to find out the options selected by the user.
subject: request.getParameterValues() for radio buttons