cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
conditional statement for forms?
September 21, 2009
11:41 pm

Please replace the ??? with your data!

  • URL to the FORM:
  • The browser used: safari, firefox
  • cforms version: 11
  • Your Wordpress version: 2.8

[desc]: I want to have a dropdown with two or three choices, each choice revealing a different sub-form. I want the subforms to be hidden till a selection is made.

Is CForms capable of this, or does this need additional javascript/php development?


September 22, 2009
4:40 am

To Oliver:

I have registered again, this time as <<margot>> as the original margotdarby registration seems to be lost. To clarify what I am asking for the conditional form field:

I want the visitor to respond with one of a series of options, let us say: A, B, C, or D. This would be by a checkbox or dropdown.

When the visitor chooses an option, I want a new subform to appear, specific to that choice. That is, there will be slight differences among the subforms. So if you choose A, you get one subform, if you choose B you get the B subform, and so forth.

Please let me know if this is possible. I have looked at a 5 or 6 form plugins and find CForms II the best available!


September 23, 2009
7:20 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

I still see 'margotdarby' in the system.

This has been asked many times before, key words: jQuery / Javascripts / dynamic forms.

In short, yes, but all form data needs to be loaded (then partially hidden).

November 17, 2009
5:08 pm

hi all

i've been testing some conditional input and found a ready to made solution here :

hope this will helps

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)