Eventify Logo
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
Eventify Logo
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
Platform
Core Products
Event Management Software
Event Registration Software
Event Ticketing Software
On-Site Badge Printing
Event Check-in Software
Lead Capture & Retrieval
Mobile Event App FEATURED
Event Management
Event Website Builder
Event Marketing Tools
Budget Planner
Speakers & Abstracts Mgmt.
Maps or Floor Plan Builder
Agenda Management
Event Reporting & Analytics
Eventify AI Assistant Agent MCP
Attendee Engagement
Meetings & Matchmaking
Event Networking App
Gamification
Live Polls & QA
Community Builder
Event AI
NEW
More Platform tools
Custom Branding & Whitelabeling
Widgets & Embeds
Integrations
Large Screen Live Displays
Security and Compliance
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Solutions
industries
Non-Profit Organizations
Corporate Events
Education
Information Technologies
Healthcare
Pharma
Retail
Event Agencies
USE CASES
Onsite Event Management
Virtual Exhibitions
Hybrid Events
Community Meetups
Workshops & Trainings
B2B Conferences
Expo and Fairs
Trade Shows
Virtual Job Fairs
Medical Events
Product Launchs
Sales Kickoffs
Education Events
Networking Events
Learning & Development
Internal Events
Awards & Recognition
White Label Mobile Apps
Native Event App
Deliver a seamless event experience with your own branded app.
Event Networking App
Empower networking and collaboration within your event.
Lead Scan & Retrieval App
Simplify lead scanning and retrieval for exhibitors and sponsors.
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Features
Content Management
Event Website Builder
Agenda Builder
Speaker Profile
News
Event Guide
Social Boost
Live Screen Display
Registration
Event Ticketing
Check-in Software
Abstract Management
Event Content Mgmt.
Badge Printing
Dynamic Form Builder
Floor Planner
Event Itinerary
Event Accomodation
Exhibitors & Sponsors
Exhibitor Profile
Sponsored Ads
Lead Scanning
Interactive Maps
Engagement
Event AI
Matchmaking
Chat & Meetings
Social Feed
Community Forum
Poll & Live QA
Gamification
Attendee Helpdesk
COMMUNICATIONS
Instant Push Notification
Email Notification
More Tools
Event Surveys
Analytics & Reporting
Facial Recognition Kiosk
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Resources
cOMPANY
About Eventify
Customer Stories
Feature Updates
Campaigns & Promotions
Careers
Security & Compliance
Community NEW
rESOURCES
Knowledge Base
Blogs
FAQs
Podcasts
Support
Contact Us
TOOLS
Free Event QR Code Generator
Free Event Staffing Calculator
Free Sponsorship ROI Calculator
Free Event Budget Calculator
Free Marketing Email Templates
Free Event WhatsApp Templates
Latest Blog Posts
Presenter hosting a live webinar with a studio microphone and laptop, from the best webinar software guide
Blog
15 Best Webinar Software for 2026 and Beyond
20 ChatGPT prompts for event landing pages, shown beside an event landing page on a laptop
Blog
20 ChatGPT Prompts for Event Landing Pages
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Why EventifyCustomer Stories
Pricing
Request A Free Trial
Contact Us
Request a Demo
Download Eventify Feature Presentation
Trusted by 5000+ Event Professionals
Eventify rated 5 stars on G2, with 99% positive reviews for its event management software
99% Positive G2 Reviews
Terrific Data Security
Help for attendees, exhibitors, sponsors & speakers
Getting Started as a ParticipantFor AttendeesFor Exhibitors & SponsorsFor SpeakersFor Abstract Authors & ReviewersHelp for event organisers
Topics

Eventify Kiosk for Desktop

Registration & Tickets

For Abstract Authors & Reviewers

For Speakers

For Exhibitors & Sponsors

For Attendees

Getting Started as a Participant

Registration Tracking & Analytics

Website Builder

Manage Event Settings

Manage Networking

Manage Sessions

Manage Analytics

Manage Push Notification

Manage Social Boost

Manage Polls

Manage Branding

Manage Community

Manage Live QA

Manage Budget Planner

Manage Itinerary

Manage Maps

Eventify AI Agent (MCP)

Manage Schedules

Manage Meetings

Manage Registrations

Manage Campaigns

Manage Sponsors

Manage Speakers

Manage Exhibitors

Manage Webview

Manage Advertisements

Manage Event Guide

Manage News

Gamification

Exhibitor, Sponsor & Speaker Profiles

Meetings

Campaign

Customise Event Branding

Eventify Admin Settings

Engagement & Networking

Manage Contents

Outreach

Manage Attendees

Support & Feedback

Abstract Calls

Event Settings

Fresh On Eventify

Setting Up an Event

User Registration

Manage Ticketing

Promotions and Discounts

Scans & Check-ins

How to Schedule?

Eventify Analytics

How to Hide, Change and Add Elements on a Registration Form with Custom Code

Written for:
Event Admin / Organiser
Attending, exhibiting, sponsoring or speaking at an event? See the help for attendees, exhibitors, sponsors and speakers.Organising an event on Eventify? See the help for event admins and organisers.
Published on
December 3, 2026
Last updated on
December 3, 2026

You can hide, change or add elements on a registration form, and on the thank-you page people see after they register, by pasting your own CSS or JavaScript into a custom code box. For example, you can hide an optional question, restyle the Register button, or add a short note above the form.

This needs advanced coding knowledge. You write the code yourself, and Eventify saves it exactly as you paste it and doesn't validate it, so test every change before you share the form.

Where to find this: Registration > Registration Forms > Settings icon on the form > Custom Code (in the Form Settings window)

This article covers registration forms. To hide parts of the ticket page, see How to Hide Elements on Your Ticket Page by Injecting External CSS.

Which box to use

BoxWhere it isWhere the code loadsUse it for
Form Custom CodeRegistration > Registration Forms, click the Settings icon on the form, then Custom Code. The same box is on the Settings step when you click Edit on the form.That form only: the form page, and the thank-you page people reach after registering through it.Most changes. Start here.
Tracking CodeRegistration > Registration Settings > Tracking Code, in Add code before </head> tag or Add code before </body> tag.Every page of the event's ticket and registration portal: all forms, the thank-you page, the ticket page and checkout.The same change on every form.

How the code is added to the page

  • Wrap CSS in <style> tags. CSS pasted without them is ignored.
  • <script> tags run. A script in either box usually runs before the questions appear on screen, so it has to wait for the form. Example 4 shows how.
  • A <link rel="stylesheet"> tag and plain HTML, such as a <div> with your text, are skipped. To add text or an element to the page, use a script.
  • Form Custom Code is read each time the form opens, so a saved change shows when you refresh the form. Tracking Code changes go live when you click Publish at the top of the dashboard, then Publish Changes.
  • Form Custom Code does not load at ticket checkout, even when the checkout asks the same questions.

Before you start

  • Check the built-in settings first. In Form Settings, Profile Photo can be set to Hidden. Under Settings > Event Settings > Ticketing / Registration, Hide QR & Appstore Links hides the box with the QR code, attendee details and app links on the thank-you page. To hide an optional question without code, open its settings in the form builder and tick Hide during registration. To remove a question for good, delete it in the form builder.
  • Never hide a required question. The form still checks it when someone clicks Register, so they can't register, and the error message is hidden along with the question.
  • The examples work on both the new ticket portal (address contains /t/) and the old one (address contains /t2/).

How to add code to a form

  1. Go to Registration > Registration Forms.
  2. On the form's row, click the Settings icon. The Form Settings window opens.
  3. Scroll to Custom Code and paste your code. If the box already holds code, add yours on a new line underneath. Don't replace what is there.
  4. Click Save.
  5. Open the form in a new tab and refresh. The form's address ends in /register/ followed by the form's ID.

Examples

Example 1: Hide a question

This hides the Designation question, with its label, on one form. Paste it in the form's Custom Code.

Form Custom Code
<style>
  div:has(> label[for="field-designation"]),
  div:has(> label[for="RegistrationForm-designation"]) {
    display: none;
  }
</style>

The two selectors point at the same question: the first works on the new portal, the second on the old one. Keep both, so the rule still works if you switch portals.

To find a question's name: right-click the answer box and choose Inspect. The highlighted line shows an id such as id="field-designation" on the new portal or id="RegistrationForm-designation" on the old one. The part after field- or RegistrationForm- is the name. Questions you added yourself have generated names, such as dropdown1788117Q3B1762104520160. Copy them exactly.

A group of tick boxes or radio buttons has no single answer box, so its label carries the id instead. Replace NAME with the question's name:

Form Custom Code
<style>
  div:has(> label[id="field-NAME-label"]),
  div:has(> label[id="RegistrationForm-NAME-label"]) {
    display: none;
  }
</style>

Example 2: Change the Register button

This makes the Register button green, rounder and wider. Paste it in the form's Custom Code.

Form Custom Code
<style>
  .base-form .theme-button-md {
    background-color: #0b6e4f;
    border-radius: 999px;
    padding: 12px 40px;
  }
</style>

You don't need !important here. Your code loads after the portal's own styles, so the rule wins, also when the mouse is over the button. On a form with the Section Wise layout, it styles the Register button on the last step. The Continue and Previous buttons use the class default-button-md.

Example 3: Change section headings and question labels

This makes the section headings, such as Profile Details, larger and green, and makes every question label bold. Paste it in the form's Custom Code.

Form Custom Code
<style>
  .base-form .custom-text-primary-md-medium {
    font-size: 20px;
    color: #0b6e4f;
  }
  .base-form .control-label-top {
    font-weight: 700;
  }
</style>

Example 4: Add a note above the form

This adds a short note at the top of the form, above Profile Details. Change the text between the quotes. Paste it in the form's Custom Code.

Form Custom Code
<script>
  (function () {
    function addNote() {
      var form = document.querySelector("form .base-form");
      if (!form || document.getElementById("my-form-note")) return;
      var note = document.createElement("div");
      note.id = "my-form-note";
      note.textContent = "Early-bird registration closes on 31 January.";
      note.style.cssText = "margin-bottom:16px;padding:12px 16px;border:1px solid #f0c36d;border-radius:8px;background:#fff8e5;color:#4a3b00;";
      form.parentNode.insertBefore(note, form);
    }
    new MutationObserver(addNote).observe(document.body, { childList: true, subtree: true });
    addNote();
  })();
</script>

The script runs before the form is on screen, so it watches the page and adds the note as soon as the form appears. The id check stops it adding a second copy. The note uses textContent, so anything you type shows as plain text. The note is not shown on the thank-you page.

Example 5: Hide the app buttons and Add to Calendar on the thank-you page

This hides the App Store, Google Play and Login to Portal buttons and the Add to Calendar link. The QR code and the attendee's details stay. Paste it in the form's Custom Code to change the thank-you page of that form only.

Form Custom Code
<style>
  .APP_LOGIN_BUTTON_SECTION,
  .ADD_TO_CALENDAR_SECTION {
    display: none;
  }
</style>

Form Custom Code stays active when someone registers and moves on to the thank-you page, which is why this works from the form's box. To hide the whole box with the QR code, use the Hide QR & Appstore Links setting instead. If you set an External Thank You Page Link in Registration Settings > Thank You Page, people go to your own page instead and this page isn't shown.

Example 6: Apply a change to every form

Any of the CSS examples above can go in Tracking Code instead, so it applies to every registration form of the event.

  1. Go to Registration > Registration Settings > Tracking Code.
  2. Paste the code in Add code before </head> tag, on a new line under any code already there.
  3. Click Save & Next.
  4. Click Publish at the top of the dashboard, then Publish Changes.
  5. Open one of your forms and refresh.

Tracking Code also loads on the ticket page and at checkout, and some class names are shared. For example, base-form is used at checkout too, and APP_LOGIN_BUTTON_SECTION is also used on ticket order pages. Check those pages after you publish. When a change is meant for forms only, use Form Custom Code.

Class names and ids you can use

The names in CAPITAL LETTERS are added for customisation. The lowercase names are the portal's own style names, and the ids are built from each question's name. In CSS, put a dot before a class name and # before an id.

NameWhat it isWhere
#field-NAMEA question's answer box. NAME is the question's name.Form, new portal (/t/)
#RegistrationForm-NAMEThe same answer box.Form, old portal (/t2/)
label[for="field-NAME"]A question's label. Use div:has(> label[for="field-NAME"]) for the whole question, as in Example 1.Form
#field-NAME-labelThe label of a group of tick boxes or radio buttons.Form
base-formThe body of the form and of each section.Form (also used at checkout)
theme-button-md inside base-formThe Register button.Form
default-button-mdThe Continue and Previous buttons.Form, Section Wise layout
control-label-topQuestion labels.Form
custom-text-primary-md-medium inside base-formSection headings, such as Profile Details.Form
label-mandatoryThe red asterisk on required questions.Form
header-image-viewThe cover photo.Form
APPUSER_PROFILE_IMG_MIN_SIZE_TEXTThe "Min file size" text under the profile photo upload.Form
THANK_YOU_SECTIONThe tick icon, heading and thank-you message.Thank-you page
THANK_YOU_TEXTThe heading, "You have successfully registered with us." by default.Thank-you page
THANK_YOU_DESCRIPTIONYour thank-you message.Thank-you page
ADD_TO_CALENDAR_SECTION, ADD_TO_CALENDAR_BUTTONThe Add to Calendar link and its row.Thank-you page
ASSIGN_TICKETS_INFOThe box with the QR code, attendee details and app buttons.Thank-you page
ASSIGN_TICKETS_QR_CODEThe QR code.Thank-you page
ASSIGN_TICKETS_ASSIGNED_PASSCODEThe passcode.Thank-you page
APP_LOGIN_BUTTON_SECTIONThe App Store, Google Play and Login to Portal buttons.Thank-you page (also ticket order pages)
APP_STORE_BUTTONSThe App Store and Google Play buttons only.Thank-you page
LOGIN_BUTTONThe Login to Portal button only.Thank-you page
SUPPORT_EMAILThe support line at the bottom.Thank-you page

The header (#MAIN_HEADER) and footer (#MAIN_FOOTER) ids are listed in How to Hide Elements on Your Ticket Page by Injecting External CSS.

Common questions

I added CSS but the form hasn't changed. Why?

Check that the CSS is wrapped in <style> tags, then refresh the form. For Tracking Code, also click Publish and then Publish Changes. If you target a question by id, check that the name matches the form exactly.

Does Form Custom Code load at ticket checkout?

No. It loads only on the form's own page and the thank-you page after it. Tracking Code loads on every page of the ticket and registration portal.

Why does my script have to wait for the form?

Code in both boxes is usually added while the form is still loading, so a script that looks for the form straight away finds nothing. Use the pattern in Example 4.

Will my code keep working after Eventify updates?

The names in CAPITAL LETTERS are there for customisation, so prefer them. Lowercase style names, such as theme-button-md, can change in a future release. Question ids start with field- on the new portal and RegistrationForm- on the old one, which is why Example 1 lists both.

My form is embedded on my website. Does that change anything?

Form Custom Code loads as usual. If your website passes its cookie consent choice to the embedded page, Tracking Code waits for that choice and does not load when a visitor declines both analytics and advertising cookies.

Related articles

  • How to Change and Add Elements on Your Ticket Page with Custom Code
  • How to Hide, Change and Add Elements on the Web Portal with CSS
  • How to Hide Elements on Your Ticket Page by Injecting External CSS
  • How to Update Checkout and Registration Form Settings
  • How to Modify a Registration Form
  • How to Configure Ticketing and Registration Settings in Eventify
  • How to Switch Your Event to the New Ticket Portal
  • Add Google Analytics 4 or Google Tag Manager to Your Registration Page

Need more help? Contact Eventify support from the admin panel.

Related Topics You May Like

How to Hide, Change and Add Elements on the Web Portal with CSS

Read post

How to Change and Add Elements on Your Ticket Page with Custom Code

Read post
The future of events
is here.

Summarise with AI

ChatGPT Claude Perplexity Google
PLATFORMS
Virtual Event PlatformHybrid Event PlatformIn-person Event PlatformMobile Event AppExpo & ExhibitionEvent Management PlatformEvent Registration PlatformTrade ShowCorporate Event AppEnterprise Event AppTrade Show AppTrade Show Management Software
PRODUCTS
Event Ticketing SoftwareEvent Check-in AppEvent Badge PrintingTicket Sales ReportLead Retrieval AppEvent Networking AppEvent Gamification AppEvent Poll & QAEvent Matchmaking AppEvent Concierge Service
RESOURCES
ContactAboutBlogCustomer StoriesFeature UpdatesPodcastsFAQReferral ProgramPartner ProgramCommunityEventify Certification
OTHERS
Privacy PolicyTerms of UseBug Bounty & Responsible DisclosureSite MapRestricted BusinessesSecurity
Download Eventify App
Download on the App Store badgeDownload the Eventify event app on Google Play
Eventify is ISO 27001:2022 certified
iso 27001 certified logoAICPA SOC logogdpr logoSOC 2 TYPE 2 LOGO
Trustpilot logo with 5-star ratingBadge from SaaSworthy for Top 20 Fastest Growing Event Management Software in Q3 2023.Purple circular badge with colorful abstract flower and text '15th Global Eventex Awards 2025 Winner'.
Eventify is a leader in Mobile Event Apps on G2
Leader
High Performer
Leader
Best Support
Users Most Likely To Recommend
Easiest To Do Business With
Eventify company logo on dark background
© Eventify 2026. All rights reserved.
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
FacebookTwitterInstagramLinkedinYouTube icon