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 Related Topics
Conditional Forms
August 5, 2010
10:00 am

Hi! I am Kix, and I am very new to the worpress world, very new in web development world. I made a passport fill up form using cforms, and I was able to achieve my objective. There is just something that I want to do to enhance the form.


There are some fields that maybe applicable to some and not applicable to others. Like for example, if the person applying is married, he/she should put the name of his/her spouse. So I would have a radio box for the civil status. If it is married, the field for the name of spouse should be required. My problem is that, I do not know how to do that, so I just put a note on the side of the field (fill up if applicable) But I want to achieve that if it is a certain value, this field is required. Or if not, we can hide the field. 

Please help me. I am still very new to everything, but I am excited to learn.


See the sample of my form at

August 6, 2010
5:51 pm

How did you style your form?

I am assuming you used css.  How did you connect the css to cforms?

August 8, 2010
6:50 am

there are options in the form settings that allows you to connect multi-forms. my problem is, how to make conditional fields

January 8, 2011
7:46 pm

Conditional form fields (and form sections) was one of the first things I looked for in this ultra flexible form plugin.


any answers on how to do this?


asking about the CSS is not really helpful, if there is an answer that involves using CSS then great, but why not just tell us the answer? or link to it.

January 31, 2011
1:15 am

hey did you ever find out the answer? i'm also looking for this feature.

February 1, 2011
8:25 am

no answer yet

November 1, 2012
4:55 pm

Old question I know, but …

The easiest way to achieve this is to use Javascript. That gives you access to all the important events and values as the form is filled in, and the ability to modify the form based on those events and values.

There's a good example in the context of cforms here.


Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
28 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3763

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)