setecastronomy wrote:
Hello, I'm moving the first steps with S2. I'm going to build a form with many input components. Some of them should be disabled or hidden based upon the selection of a radio button. In a pure jsp scenario where html tags are used I can link some javascript function which uses style.display = 'none' or 'block' for those components I want to hide. Don't know if it is a valid way with S2 too and above all I don't know how to link javascript code to the S2 tags. Can you suggest an howto or an example ?
Just setting display to none works great. S2 submits form the same way as any other web application. Each S2 tag has id attribute - this is how you map them to your JS. If you're going to go with ajax theme it will be more complicated though ;-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]