Custom Field Inputs
Code Nation themes are designed to accommodate dynamic and personalized custom inputs.
Last updated
Code Nation themes are designed to accommodate dynamic and personalized custom inputs.
Last updated
Live Example: https://campaign.codenation.com/join
Making use of our themes Admin tags, Dynamic Custom Inputs let you upgrade your forms by adding custom questions or input fields to actions on your website (like sign-ups and feedback forms) beyond what NationBuilder normally offers.
You can learn more about custom fields here.
Custom Field Inputs for Donation pages are tagged differently. You can jump to this section here: Adding Custom Donation Field Inputs
Navigate to Settings > Custom Fields via the sidebar in NationBuilder.
Select the button to create a new custom field.
In the "Name" field, write the label you want for the custom field input (for example, "How did you hear about us?"). Then give the new custom field a unique slug.
Navigate to the page you want to add the field to.
Add the tag Admin Custom Field:[CUSTOM_FIELD_SLUG]
to the page you would like to add the custom field to.
Where [CUSTOM_FIELD_SLUG]
is the slug you gave the custom field in step 3.
(Note: the video below shows our Candidate theme, but the steps are the same for Campaña)
Once a visitor has filled and submitted a form with a custom field input, the value will be stored on their profile in your Nation. You can follow the steps below to find and view any users custom field responses.
Navigate to People via the sidebar in NationBuilder.
There are a couple of ways you can find people and view their custom fields on this page.
If you know the name of a person who interacted with your form you can search for them specifically.
If you set the form up to tag users with a specific tag (E.g. "Candidate -Sign Up - 2023") you can filter people using this tag by selecting the filter option.
Once you have selected a person you can then use the tab menu to navigate to Edit > Custom Fields to view all their responses. E.g.
Navigate to Settings > Custom Fields via the sidebar in NationBuilder.
Select the donation tab via the tab menu.
Select the button to create a new custom field.
In the "Name" field, write the label you want for the custom field input (for example, "How did you hear about us?"). Then give the new custom field a unique slug.
Navigate to the page you want to add the field to.
Add the tag Admin Custom Donation Field:[CUSTOM_FIELD_SLUG]
to the page you would like to add the custom field to.
Where [CUSTOM_FIELD_SLUG]
is the slug you gave the custom field in step 3.