I have a ticket page using a Civi Contribution page and a webform. Is there a way to allow price sets in a webform? What I am looking to do is have a series of options, ($5, $10, $20) and then have a donation amount where they can enter any amount in.
You can accomplish this by:
- Installing the webform select or other module.
- Changing the price field's widget to a select (by default it is a textfield) and enabling the options you wish plus the "other" feature provided by the above.
CiviCRM pricesets cannot be integrated with webforms, but you should be able to create various contribution ammounts within the webform which may be sufficient depending on your use case. You may find some interesting information on the topic in this forum post and as well as in the civicrm wiki.
Which versions of Civi / Drupal are you on?
I'd have thought you could do this through the webform integration api? Under the CiviCRM tab if you enable "contribution", is there an option for price set there?
Incidentally, why use webform here, and not the CiviCRM contribution page (sorry if I misunderstood)?