Skip to main content

Overview

The Form Input Fields schema defines the different types of form inputs supported by the Base Custom Form Component, including text responses, choice-based questions, date/time pickers, feedback ratings, file uploads, and digital signatures. Each input type comes with specific validation rules, constraints, and style references to maintain a consistent experience across all form-based QR Code categories.

Properties


🧩 multipleOptions

Used for:
  • multipleChoice
  • checkbox
  • dropdown

🧩 linearScale

Used for:
  • linearScale question type (rating or scale-based feedback)

🧩 dateFormat & timeFormat

Used for:
  • dateFormat and timeFormat question types.
    Defines standardized display and validation formats across form submissions.

🧩 feedback

Used for:
  • starRating
  • emoji
  • likeDislike
Supports reference to:
  • style/feedback.json for visual styling.

🧩 uploadFile

Used for:
  • uploadFile question type.

🧩 signature

Used for:
  • signature question type.
    Stores signature data as a base64 string or file reference.

  • Custom Form Component → Uses this schema to define question structures and supported input types.

Example Schema

Notes

  • This schema supports all question types used in Custom Form Components.
  • Each field type includes its own structure and constraints for flexible configuration.
  • Always validate the selected type in the parent form component before applying data from this schema.
  • For advanced styling, reference visual components like style/text.json or style/feedback.json.