2

I've setup a webform with CiviCRM integration that ties back to a Contribution page. This creates a "Contribution Amount" field in the form that I've populated with a number of user selectable options that have assigned dollar amounts. I'd also like for there to be an "other amounts" option that allows the donor to type in a custom amount, just like in the standard CiviCRM contribution page options. I don't see such an option in the Webform settings. Can anyone advise how this is accomplished?

6

If you want to preserve a predefined values and let the donor the option of entering another amount, Select (or other) Drupal module works nicely with Webform CiviCRM and payment amounts.

  • Nice, but can you improve your answer by saying that this works with Webform CiviCRM and payment amounts just to absolutely nail the question – petednz - fuzion May 25 '17 at 20:21
  • @petednz-fuzion done! – Francesc Bassas i Bullich May 25 '17 at 20:47
0

ON the civicrm tab, check the Contribution Amount field and read the field help and i think you will figure you need to set the widget to Number

This amount will be in addition to any paid events and memberships.

Once added to the webform, this field can be configured in a number of ways by changing its settings.

Possible Widgets:

Number (default): Allow the user to enter an amount, optionally constrained by min, max, and increments.

Hidden: Set the amount without giving the user a choice.

Select/Radios: Allow the user to choose from one of several options.

MultiSelect/Checkboxes: Each choice the user selects will be added together.

Grid: Configure multiple items and quantities.

  • This works if I only want a field for a user defined amount, but I want a list of options (radios) and a user defined amount. – spontarelliam May 25 '17 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.