Details
-
Type:
Improvement
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.10
-
Component/s: CiviCampaign
-
Labels:
-
Documentation Required?:User and Admin Doc
-
Funding Source:Contributed Code
Description
Petitions are really just surveys from the perspective of the database (and the API). Custom fields are available for surveys, and while you can set and retrieve values for those fields on petitions using the API, you can't do so through the main UI.
This simply displays the fields on the Petition add/edit form just like they do on the Survey add/edit form.
https://github.com/civicrm/civicrm-core/pull/7275
Nearly everything is lifted from the survey add/edit form.
Did it against 4.6 because it's a pretty small/innocuous change (you might even call it a bug, considering the API does this with no problem). Also, a client needs this sooner rather than later.