I would like to prepare form based on CForms:
1. Group of checkboxes, example:
How was the weather during your vacation?
o good o bad o other(check it to write what you want)
2. After checking last option "other" new text field should appears next to it to allow user to write his option.
Could you please advise me if it is possible in cforms and how to prepare such form?
many thanks in advance
(Should this be over in "Troubleshooting"?)
There might be simpler ways directly within cforms or PHP, but I did this kind of thing with jQuery. You'd need to check "
}); }; <script>
I've only been doing this a couple of weeks and I might be all wrong, but that's the way I went. Regards, Tim Meneely
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3741
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)