Flux Product Docs
  • What is Flux?
  • Guides
    • Creating a Premium Video
    • Creating Your First Site
    • Creating a Countdown
    • Creating a Navigation Bar
    • Creating a Group
    • Custom 404 Page
    • Adding a Favicon to Your Site
    • Adding Videos to Your Site
    • Managing Your Guest List
    • Asset Management
    • Creating Sites from Site Templates
    • Publishing Site Versions
    • Advanced Debugging
  • Fundamentals
    • Key Concepts
    • Sites
    • Guests
    • Environments
      • Show Variables
    • Flows
      • Anatomy of a Node
      • Connecting Nodes and Building Flows
      • Passing Data
      • Scope
      • Interpolation
    • Keyboard Shortcuts
      • Keyboard Shortcuts - Page Editor
    • Animation States
    • Local Variables
    • Groups
  • Use Cases
    • For Designers
    • For Engineers
      • Custom CSS
      • Custom Modules
    • For Event Manager
      • Intercom Integration
  • Documentation
    • FAQ
    • Glossary
    • 🚀Show Controller
      • Modes
    • Domains and Subdomains
      • Hover
      • AWS Route 53
    • Premium Live Channels
    • Basic Video
    • Premium Video
      • AI Generated Subtitles
      • Supported Input Codecs and Containers
      • Supported Language Labels
      • Serverside Forensic Watermarking
    • Flow Nodes
      • Middleware
  • Modules
    • Access Code
    • Audio
    • Button
    • Carousel
    • Chat
    • Checkbox
    • Container
    • Countdown
    • Date
    • Embed
    • Image
    • Intercom
    • Link
    • Lottie
    • Page
    • Meter
    • Modal
    • Photobooth Gallery
    • Open Login
    • QR Code
    • Radio
    • Rich Text
    • Stack
    • Style
    • Spline
    • Switch
    • Text Input
    • Video
  • Template Guides
    • NatGeo FYC
      • Adding a Panel
    • Meow Wolf All Shrimps
  • 🚀Change Logs
    • July 12, 2024
    • June 08, 2024
    • April 26, 2024
    • April 12, 2024
    • March 29, 2024
    • March 15, 2024
    • March 1, 2024
    • September 2022
    • August 2022
    • July 2022
    • June 2022
Powered by GitBook
On this page
  • Overview
  • Access Code Properties
  • Nodes
  • Broadcasters
  • Listeners
  • Submit Button Properties
  • Code Input Properties
  • Checkbox Label
  • Resent Button Props

Was this helpful?

  1. Modules

Access Code

Last updated 1 year ago

Was this helpful?

Overview

The Access Code module provides a way for a Guest to authenticate with an access code.

Access Code Properties

How to treat magic links (required) Dropdown Defines the behavior when guests enter the site using a magic link containing their access code. Options include:

  • none

  • auto-fill

  • auto-submit

For auto-submit to work, the "Show Terms and Conditions" checkbox must be unchecked.

Title String Sets the title string displayed at the top of the Access Code module.

Subtitle String Sets the subtitle text displayed under the title of the Access Code module.

Access Code Length Number Sets the access code length requirement on the site. This should reflect the access code length generated when uploading Guests.

Error Message for Wrong Access Code String Sets the error message that is displayed when an invalid access code is entered.

Show Terms and Conditions Checkbox? Checkbox, default enabled If enabled, shows the Terms and Conditions box which users must check off in order to log in.

Nodes

Broadcasters

AccessCode:on-failure Indicates an unsuccessful verification has occurred. This usually renders an error in the Access Code Module

Parameters

  • reason - Reason for the error in Access Code

  • showId - Unique ID for the show that the error is for.

AccessCode:on-success Indicates a successful verification has occurred. This usually renders an success in the Access Code Module

Parameters

  • attendeeId - Unique ID for the attendee.

  • attendeeName - Name for the attendee.

  • attendeeEmail - Email for the attendee.

  • showId - Unique ID for the show.

AccessCode:verify Requests the given access code be verified for the show. This usually will return the access code used in the Access Code Module.

Parameters

  • accessCode - Access code used for the verify instruction

  • showId - Unique ID for the show.

Listeners

AccessCode:success Access code was successfully verified

Parameters:

  • attendee - Attendee object with id

  • name

  • email

  • chatToken - Array of tokens

AccessCode:failure Access code could not be verified

Parameters:

  • reason

AccessCode:animationState

The name of an animation state for the Access Code.

Parameters:

  • stateName

Submit Button Properties

Button Label String Sets the label of the button.

Button Color String - Valid color string (white) or hex code (#FFFFF) Sets the color of the button background.

Code Input Properties

Input Label String Sets the name of the code input field.

Input Placeholder String If defined, sets the input placeholder. This is usually used as helper text for access code entry.

Size Dropdown Font size of the access code input. Options include:

  • none

  • auto-fill

  • auto-submit

Style attribute String, css style property(ies) Can be used to apply CSS to customize the access code input.

Checkbox Label

Label Content (required) Rich text Sets the label of the checkbox. The default label is contains an agreement to the Terms and Conditions. This supports rich text for the checkbox label.

Resent Button Props

Button Label String Sets the label specific to the link for resending codes.

Text Color String - Valid color string (white) or hex code (#FFFFF) Overrides the default color of the text.

Show Resent Link? Checkbox, default disabled If enabled, shows the resend link if its available.

SendGrid Template Id String - valid SendGrid template id Template to use when guests request their access code

SendGrid From Name String Name of site/event to use when the guests receieve a resend code email, defaults to the site name if not provided.

SendGrid From Email Address String, a valid formatted email address Email address of site/event to use when the guests receieve a resend code email, defaults hello@lcdigital.io if not provided. Use caution when setting this value if the from email address does not have a reputation as a valid email sender the resend code emails are very likely to end up in spam folders.

String If defined, sets the ARIA label of the button to provide the element with an .

String - Valid color string (white) or hex code (#FFFFF) Overrides the default color of the text.

String Overrides the default width of the button. This property accepts lengths followed by a relative unit (em, ex, or px) or percentages. Example: 500px or 5em

String If defined, sets the ARIA label of the resend code button to provide the element with an .

Button ARIA Label
accessible name
Text Color
Width
Button ARIA Label
accessible name