Buy Now
Sign in

Open textfield with radiobutton

The King , November 10 2007, 02:09
T
The King 15
November 10 2007, 02:09 #3560
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 64
November 10 2007, 18:18 #3571
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much