Francesco Gallarotti
Francesco Gallarotti

Reputation: 1227

Sitecore 6 WFFM: How to hide fields?

In Web Forms for Marketers, I have a few fields that I am using to pass values to the pipeline processors and to append CSS code to the form.

I don't want these fields to appear on the form. How can I mark a field to be invisible? Right now I am doing this via CSS, but I am quite sure there must be a better way to do so.

Thanks!

Upvotes: 1

Views: 1399

Answers (2)

user852745
user852745

Reputation: 21

You can extend the Single Line Text field class and change the container CSS class to your own CSS class that hides the field and label. You can also add value to that field when the form is loaded through the querystring.

Upvotes: 2

DougCouto
DougCouto

Reputation: 530

I believe there is a Hidden Field type in WFFM. Could you use that?

Upvotes: 0

Related Questions