Re: Show/Hide text fields

2006-03-16 Thread Daud
Hi, Thanks for your replies. Actually problem is these form items are generated based on the data from the database and i used a for loop to print them on the tapestry page which basically checks the layout like check box, radio button etc and then prints it on the screen. I am unable to come up wi

RE: Show/Hide text fields

2006-03-15 Thread Mark Stang
Hi, There is a "AnySubmit" that we use to wrap around radio buttons. Then we use conditionals to hide the values. regards, Mark -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tue 3/14/2006 5:51 PM To: Tapestry users Subject: Re: Show/Hide text fields

Re: Show/Hide text fields

2006-03-14 Thread Jesse Kuhnert
var elm = document.getElementById('yourfieldid'); elm.style.display="none"; //to hide elm.style.display=""; //to show Or, you could use the AjaxEventSubmit control from tacos at http://tacos.sourceforge.net to do the same without writing any javascript code. On 3/14/06, Daud <[EMAIL PROTECTED]> w

Show/Hide text fields

2006-03-14 Thread Daud
Hi, I am trying to show/hide tapestry text fields. But i have no idea how to do it. Basically the form fields are generated dynamically and then when i click on a radio button want to hide some text fields and show others. Any help would be really appreciated as i am stuck and don't know how to ach