⚡
claimr
  • Getting started
    • Create an account
    • Sign in to your account
    • Reset password
    • Edit profile
  • ⚡️claimr core components
  • Team roles and management
  • Campaigns
    • Create new campaign
    • Campaign settings
  • Groups
    • Create new group
    • Group settings
  • Quests
    • Create new quest
    • Quest settings
  • Tasks
    • Create new task
    • Task settings
    • Telegram tasks
    • X (Twitter) tasks
    • TikTok tasks
    • Discord tasks
    • YouTube tasks
    • Web3 tasks
      • Connect a wallet
      • Transactions count
      • Wallet balance
      • Token balance
      • NFT balance
      • Link3 balance
      • Mint an NFT (721)
      • Mint an NFT (1155)
      • Verify transactions
    • PoW tasks
    • HTTP request tasks
    • Referral tasks
    • Form tasks
    • Poll tasks
    • Events tasks
    • API tasks
  • Widget
    • Publish campaign
    • Widget configurations
    • Widget attributes
    • Integrate claimr widget into your website
    • claimr widget integrations
      • Google Analytics integration
      • Google Analytics Client ID
      • Google Tag Manager integration
      • HotJar integration
  • Rewards
    • Reward settings
    • Custom rewards
  • Events
    • Daily check-ins
    • Challenges
    • Ranks
    • KOLs
  • Codes
    • Secret codes
    • Invite codes
      • Enter invite code task
      • Claim invite code task
    • Gift codes
  • Test users
  • Pop-ups
    • Into pop-up
    • Completion pop-up
  • API
    • API token
    • API methods
    • User token
  • Webhooks
    • Set up webhooks
    • Assign webhooks
    • Webhook scopes
  • SDK
  • Forms
    • Create forms
    • Form settings
    • Pages
    • Blocks
    • Quizzes
  • Data analytics
    • Activity
    • PoW analytics
    • User information
    • Failed actions
    • Issues analytics
  • How to
    • Create X campaign
    • Create Discord campaign
    • Integrate claimr widget into dApp
    • Integrating claimr widget into Telegram mini app
    • Customize user experience with tags and attributes
    • Add custom points to users
  • UX requirements
    • Campaign UX requirements
    • Group UX requirements
    • Quest card UX requirements
    • Quest UX requirements
    • Task UX requirements
    • User progress UX requirements
    • Pop-ups UX requirements
    • Interactive components UX requirements
Powered by GitBook
On this page
  • Add blocks
  • Blocks common structure
  • Block settings
  • Block types
  • Short answer
  • Long answer
  • Email
  • Link
  • Choice
  • Quiz
  • H1 Rich text
  • Video
  • Address

Was this helpful?

  1. Forms

Blocks

Use blocks to collect various types of information from users, such as text, email addresses, numbers, and more.

PreviousPagesNextQuizzes

Last updated 3 months ago

Was this helpful?

Form blocks are the individual elements that make up a form in claimr. You can move blocks from one page to another within the form.

Add blocks

  1. Click + Block button.

  2. A pop-up window will appear where you can select the block type.

  3. Choose the block type that best suits the information you want to collect.

  4. Click "Add Block" to add the block to the page.

  5. Customize the labels, placeholders, and validation rules for the block.

Each page in a form must have at least one block.

Blocks common structure

  • Block label: A small label that identifies the block type (e.g., "Short answer," "Email"). This is primarily for internal organization and is not always visible to the user.

  • Field label: The label displayed to the user, indicating what information should be entered in the block (e.g., "Your name," "Email address").

  • Input field: The actual input field where the user enters their response.

  • Settings icon: A gear icon that opens the block's settings menu.

Customize the labels, placeholders, and settings for each block.

Block settings

Most blocks share these common settings:

Optional toggle: Make the block optional or required.

Error message: Customize the error message displayed for invalid input.

To customize a block:

  1. Click the gear icon to the left of the block to open the block settings menu.

  2. Adjust the settings as needed.

  3. Click Apply to save your changes or Delete block to remove the block.

Block types

Each block serves a specific purpose in collecting user information or creating interactive elements within your forms.

Short answer

Collect short text answers from users. Ideal for fields like names, addresses, or social media handles.

Regular expression settings: Define a pattern to validate user input conforms to specific rules or formats.

Examples

Include a specific emoji: If you want to include a specific emoji (e.g., ✨) in the user's name, you could use a regular expression like .*✨.* to allow for any characters before or after the emoji.

Start with a specific word or phrase: If you want to ensure the user's name starts with a specific word or phrase, you could use a regular expression like ^YourKeyword to match any string that begins with "YourKeyword".

Resources

  • AI assistants

Long answer

Collect longer text answers or paragraphs from users. Perfect for gathering feedback, comments, or detailed explanations. This block has common settings with an optional toggle and customizable error message text.

Email

Collect email addresses from users.

Link

Collect website links from users.

Choice

Allow users to select from a list of options. This is great for creating multiple choice questions or offering a set of predefined answers.

Choice settings

  • Shuffle: Randomize the order of choices to prevent bias.

  • Allow multiple choices: Enable users to select more than one option.

  • Optional toggle: Make the block optional or required.

  • Use "Other" answer: Include an "Other" option for users to provide their own answer if none of the predefined choices are suitable.

Using scores

  • Converting score to XP: You can convert the user's quiz score into XP (experience points) that can be used in your claimr campaign. To do this, enable the "Score to XP" option when configuring the Form task within your quest. To find out more information, visit Form tasks

  • Determining the correct answer: The choice with the highest assigned score is considered the correct answer.

  • Minimum score: You can also set a minimum score that users must achieve on the quiz to complete the Form task.

Quiz

Use this block to create interactive quizzes within your forms. This allows you to engage users, test their knowledge, or gather information in a fun and interactive way.

Quiz structure

Question: Clearly state the quiz question.

Answer Choices: Provide a list of possible answers for the user to choose from. Only one answer can be marked as correct.

Score: Assign a score to each answer choice. The choice with the highest score is considered the correct answer.

Explanation (optional) : Add a reason for each answer choice. This explanation will be displayed to the user after they answer the question, regardless of whether their answer is correct or not.

To find out more, read our Quizzes article.

H1 Rich text

Add a heading with rich text formatting to your form. This helps break up long forms and improve readability. Use the built-in editor to format the heading text (e.g., change font size, color, or add bolding).

Video

Embed a video into your form to provide visual instructions or entertainment. Enter the URL of the video you want to embed.

Address

Collect users' wallet addresses. This is useful for campaigns involving cryptocurrency or blockchain interactions.

By utilizing these diverse block types and their customizable settings, you can create forms that are not only visually appealing but also highly effective in gathering valuable user information and enhancing the overall campaign experience.

Regular expression builder:

https://regex101.com/
Add block
Select block type
Block settings
Shot answer example
Long answer example
Email example
Link example
Choice example
Choice settings
Quiz example
Rich text example
Video example
Wallet address