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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Custom Fields from Main to Confirm
Pages: [1]

Author Topic: Custom Fields from Main to Confirm  (Read 729 times)

LoganBear

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.67
  • PHP version: 5.3.28
Custom Fields from Main to Confirm
July 06, 2010, 08:10:27 pm
I finally figured out how to get my fields in the right place with buildForm and .tpl for my main contribution form.  But the values don't show up on the Confirm page.  For the main form, I used:
Code: [Select]
$form->addElement( 'select', 'chapter', ts( 'Chapter Name' ),array(''=>'--select--') + $options['chapter_26'] );
$form->addElement('text','chapterAmount', ts('Amount for Chapter'));

How do I get their values to show up on the Confirm form?

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: Custom Fields from Main to Confirm
July 07, 2010, 04:21:11 am
You need to add these fields in template. ( Confirm.tpl )

Code: [Select]
{$form.chapter.label}{$form.chapter.html}
HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Custom Fields from Main to Confirm

This forum was archived on 2017-11-26.