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
Showing certain form fields depending on dropdown selection
January 28, 2011
7:41 pm

Hi there,


I'm trying to set up a dynamic form that has input fields added or removed, depending on what option a user selects from a dropdown. Specifically, if you go here:, and select from the first dropdown above the form, "New Customer," you'll notice two new fields that show up. I did the auto-adding/removing with jQuery, but then suddenly came to the realization that validation still happens for the required fields that are now hidden. How would I remove validation for the fields I'm hiding? Or is there a better way to achieve the whole thing? Just wanted to ask and double check about this. Thanks!



January 31, 2011
4:51 pm

I am actually trying to do something simliar; yet with calculating estimated prices I am working on a site that has products, storage sheds, with many options available. I created a drop down for colors available here; but I would like to add some options that would calculate the cost of different options

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
29 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)