Forums

Button, which opens a hidden folder

Hotkeyharry 29 Jul, 2013
Hi all together,

is it a possible to build a form with:

a button, which opens a hidden folder/field with divers text areas like second adress, second name, second street and so on. How does it go?
GreyHead 29 Jul, 2013
Hi HotKeyHarry,

You can do this with ChronoForms but is needs some custom JavaScript. There's an example of a very simple show/hide function in this FAQ.

Bob
Hotkeyharry 29 Jul, 2013
Oh thats good, but only the half way: is there anywhere a latest tutorial v4.x how to setup these JS Load Actions into OnLoad?
GreyHead 30 Jul, 2013
Hi Hotkeyherry,

Please see this FAQ which has some info on using JavaScript.

Bob
Hotkeyharry 06 Aug, 2013
Pity! I can't get it running. In PREVIEW I set checkbox and textarea (yes, the correct names for ID), in EVENTS I paste the code Load JS - that's it. Nothing happens... Don't know what I'm doing wrong.. sorry
GreyHead 06 Aug, 2013
Hi Hotkeyharry,

Please post a link to the form so I can take a quick look.

Bob
Hotkeyharry 06 Aug, 2013
I go crazy - it runs?????? For testing I put in the Load CSS before the Show Html and than was o.k. - perhaps a caching problem - sorry Last question, but the Load CSS isn't really needn't, or?
Hotkeyharry 06 Aug, 2013
Now I have to get it running with 5 or 6 textareas...but thats a new problem
This topic is locked and no more replies can be posted.