Skip to main content

Custom Fields not working for me on Event page

I'm trying to add several custom fields to our event sign-up page. It's a big conference, so we need to ask things like t-shirt size, housing arrangements, etc. I made a multiple choice custom people field housing_arrangements to test, but I've been totally unable to make it work.

My code

{% for cf in custom_fields.signup %}
{% assign custom_field = cf[1] %}
{% assign custom_field_id = 'signup.custom_values.' | append: custom_field.slug %}
{% if custom_field.slug contains "housing_arrangements" %}<div class="row-fluid">
<div class="span12">
{% if custom_field.is_text? or custom_field.is_number? %}
<label for="event_rsvp_signup_custom_values_{{ custom_field.slug }}_custom">{{ custom_field.name }}</label>
{% text_field custom_field_id, class:"text" %}
{% elsif custom_field.is_boolean? %}
<label class="checkbox" for="event_rsvp_signup_custom_values_{{ custom_field.slug }}_custom">{% check_box custom_field_id, class:"checkbox" %} {{ custom_field.name }}</label>
{% elsif custom_field.is_multiple_choice? %}
<label for="event_rsvp_signup_custom_values_{{ custom_field.slug }}_custom">{{ custom_field.name }}</label>
{% collection_select custom_field_id, custom_fields.signup[custom_field.slug].multiple_choice_options, class:"select" %}
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}

Error:

Housing ArrangementsLiquid error: undefined method `signup_custom_values' for OrderDrop:OrderDrop

I've tried a bunch of different things, as suggested in several other similar questions, but nothing I've tried has worked. It's getting the custom field, because it's posting the title, but then it can't actually post the selection part.

Official response from

Hi Joe,

I did some testing and it appears that the custom fields for event pages work fine in the RSVP form, but not the "Order" form (which is used instead of the RSVP form when an event has tickets for purchase). For this reason, you will need to put the custom fields on the donation page that ticket buyers are brought to instead of on the event page itself. If you are using a generic donation page right now, I recommend creating a new donation page to use for this event only.

Share this post

Showing 2 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.