CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Hiding/removing form elements
Pages: [1]

Author Topic: Hiding/removing form elements  (Read 905 times)

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Hiding/removing form elements
February 15, 2012, 04:43:48 am
Looked around the forum and can't really find the answer that works for me.

What I want to do is hide or remove elements from a form, ie when adding a new contact I'd like to remove the middle name field and suffix along with a few others. I thought I'd be able to do this easily with css but there is no "id" available for the the element's td tags. I'm able to hide the label and input fields but the td remains so I just end up with a blank space where I've hidden the label and input field.

Thanks for any help.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Hiding/removing form elements
February 15, 2012, 12:48:05 pm
Here is one way : http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: Hiding/removing form elements
February 27, 2012, 08:19:28 am
Found that initially, worked it out now though, thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Hiding/removing form elements

This forum was archived on 2017-11-26.