cforms II User Forum

Registration is currently disabled.
Guest

FAQs

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
margotdarby
Guest

Please replace the ??? with your data!

  • URL to the FORM: http://iyoga.nbnm.net
  • 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?

Margot

September 22, 2009
4:40 am
Guest

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!

MargotWink

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

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
jojo
Guest

hi all

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

http://modxcms.com/forums/index.php?topic=33340.0

hope this will helps

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
16 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: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)