Forums

Open textfield with radiobutton

The King 10 Nov, 2007
Hi,

How can I open a textfield using a button with two options?
For exemple the options private or company.
When you selectd 'company' a new textfield (company name) should apear.

Thanks.<br><br>Post edited by: The King, at: 2007/11/09 21:13
GreyHead 10 Nov, 2007
Hi The King,

I'm sure that you can do this with some JavaScript. You could Google around to find a code snippet or you could use one of the existing libraries: Joomla 1.5 has MooTools built in I think; ChronoForms Validation loads the Prototype library and the Scriptaculous effects library.

Bob
This topic is locked and no more replies can be posted.