There was a discussion on the forum here - which suggested that the reason this happened was because Contributions should alway be loading fresh data.

The jury seemed to be out on whether that should be default behaviour for Member fields.

Our scenario is members join up, and use Contact Reference field to assign themselves to a club (and then we build a Relationship from that).

When the member renews we absolutely want this data loading.

My feeling is this should be core behaviour but would be good to canvass opinions on this.

  • Agreed. If custom Membership fields are exposed on a form they should be pre-filled with the current value. Feb 24 '17 at 18:43

We tried the suggestion to

hack /srv/www/yfnz/yfnz.fudev.co.nz/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php line 33 $removeCustomFieldTypes = array('Contribution', 'Membership'); needs to be changed to be $removeCustomFieldTypes = array('Contribution');

and it did what we needed.

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.