GoFundraise Custom Fields
GoFundraise allows you to configure questions on your donation and fundraising page registration forms. These responses are available as variables in your MoveData extension flows only if they are mapped to Custom Fields in GoFundraise. For system custom fields, see the Custom field reference in the main GoFundraise article.
Warning
Custom question responses are not available to MoveData unless they are mapped to GoFundraise Custom Fields. If your questions are not appearing in MoveData notifications, contact GoFundraise Support to confirm your custom field configuration.
How custom questions are mapped#
When you map questions to custom fields in GoFundraise, they are surfaced in the GoFundraise API using numbered fields:
| GoFundraise field |
|---|
CustomFormData1 |
CustomFormData2 |
CustomFormData3 |
CustomFormData4 |
CustomFormData5 |
Each custom field produces two MoveData variables:
questionName_N-- the question textquestionValue_N-- the response value
For example, if you map "How did you hear about us?" to CustomFormData1, MoveData receives:
{
"CustomQuestionName_1": "How did you hear about us?",
"CustomQuestionValue_1": "Google"
}
Keeping custom fields consistent across forms#
GoFundraise maps questions to numbered fields (CustomFormData1 through CustomFormData5). If different forms map different questions to the same numbered field, the same MoveData variable will contain different types of data depending on which form was submitted. Ensure your forms use a consistent question-to-field mapping across all campaigns and events.
The following example illustrates the problem:
| GoFundraise Custom Field | Question | Answer |
|---|---|---|
CustomFormData1 |
How did you hear about us? | |
CustomFormData1 |
Have you participated previously? | No |
CustomFormData1 |
Are you over or under 18? | Over 18 |
Because the only context MoveData receives is CustomFormData1, it is not possible to determine which question the value relates to unless CustomFormData1 is used consistently for the same question across all forms.