Closed (won't fix)
Project:
Webform CiviCRM Integration
Version:
7.x-4.5
Component:
CiviCRM Data Handling
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2014 at 18:26 UTC
Updated:
2 Aug 2014 at 20:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
brylie commentedComment #2
colemanw commentedHi Brylie how's it going?
This module doesn't understand Civi's "price sets" at all, so any prices or fees you've set up on the civi side will have to be re-created on the webform side.
To do so, enable the "event fee" field for each event on the form. By default it is a numeric input field, but you'll want to edit it and change the widget type to "select" or in your use-case "grid" would probably be a better choice. This would let you enter the multiple types of fees and have them multiplied by the number of days in attendance.
Comment #3
brylie commentedOK. We may be able to set up several event registration forms, for each type of registrant.
Comment #4
colemanw commentedA grid like this gets the logic right, but the presentation could be better.
I'd recommend writing a tiny js script that hides every row in the table except for 1, based on their answer to "age" and "preferred accomodation" fields in the form.
Comment #5
colemanw commentedPS - the way I did that was to enable "event fee" field, and then set it up as a webform grid.
In the rows I put age + accom as the label and the daily price as the key.
In the columns I put # of days and a multiplier as the key.
There's a minor inconvenience that no 2 rows can have the same key (so 2 rows can't both be worth $50) but you can get around it by having one be 50 and another be 50.0 and another be 50.00.
Comment #6
colemanw commented