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 »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Question - Setting a default value on PCP registration form
Pages: [1]

Author Topic: Question - Setting a default value on PCP registration form  (Read 1364 times)

nightlrd

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5
Question - Setting a default value on PCP registration form
January 11, 2010, 10:21:47 am
Hi,

I am trying to set a default value to the pcp set up form for the goal field. I can't seem to find were or how I would do this. Could someone please advise? Thanks.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Question - Setting a default value on PCP registration form
January 12, 2010, 01:29:34 am
For this you should use buildForm hook.

Check:
Available hooks: http://wiki.civicrm.org/confluence/display/CRMUPCOMING/CiviCRM+hook+specification
Examples: http://svn.civicrm.org/civicrm/branches/v3.1/drupal/civitest.module.sample

Hth

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Question - Setting a default value on PCP registration form

This forum was archived on 2017-11-26.