Skip to main content Link Search Menu Expand Document Toggle dark mode Copy Code (external link)

@type : The Input Type Attribute

The type attribute specifies the type of input field to render in PDF documents. It controls both the visual appearance and the semantic meaning of form fields. Since Scryber PDFs are static documents, input types render as styled visual representations rather than interactive controls.


On this page

Usage

The type attribute determines how input fields are displayed:

  • Controls the visual rendering style (text box, checkbox, radio button, etc.)
  • Defines the semantic meaning of the field
  • Affects default styling and behavior
  • Supports various input types for different data types
  • Renders as static visual representation in PDF output
  • Can be combined with CSS styling for custom appearances
<!-- Text input (default) -->
<input type="text" value="John Doe" />

<!-- Checkbox input -->
<input type="checkbox" value="checked" />

<!-- Radio button input -->
<input type="radio" value="selected" />

<!-- Button input -->
<input type="button" value="Click Me" />

The forms input and types are not CURRENTLY implemented in the library. As such the rest of this help file will not be valid! It is only here for completeness.