How can I disable a form field in Ubercart?

Category: 
User
Topic: 
Module configuration

It's a fact... there are a lot of forms in Ubercart, and a lot of them get more cumbersome the more modules you enable. If you want to disable or hide form fields from your users, you can use a handy Drupal module called Form Filter. An example usage would be using this module to disable the list price and cost fields on product node add/edit forms so your clients only see a single price field. When used effectively, this module can make your Ubercart even simpler for your end users (or yourself!).

pasztord's picture
Offline
Joined: 07/31/2008
Juice: 23
Re: How can I disable a form field in Ubercart?

But you have to know, that there are some problems with that module, so it isn't an easy solution for that problem...

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15453
Re: Re: How can I disable a form field in Ubercart?

Right. The alternative is just a small custom module using hook_form_alter().

brentratliff's picture
Offline
Joined: 03/17/2009
Juice: 63
Re: Re: Re: How can I disable a form field in Ubercart?

I hide certain ones with css or create a view of fields and leave off the items I don't want.