Uni CPO 4 Documentation
  • Introduction
  • Why Uni CPO?
  • Installation
    • Upgrade
  • How To Use
    • Plugin's Settings
    • Builder
      • Data Structure
      • General Settings
      • Non Option Variable (NOV)
      • Weight Conditional Logic
      • Dimensions Settings
      • Image Conditional Logic
      • Formula Conditional Logic
      • Dynamic labels for options/suboptions
      • Shipping Classes Conditional Logic
      • Cart Discounts
    • Basic Modules
      • Row
      • Column
      • Paragraph
      • Button
      • Image
    • Options
      • Text Input
      • Text Area
      • Select
      • Radio Inputs
      • Checkbox Inputs
      • Date Picker
      • File Upload
      • Dynamic Notice
      • Range Slider
      • Matrix
      • Extra Cart Button
      • Google Map
      • Distance by Postcode
      • Font Preview
    • Fields Conditional Logic
    • Validation Conditional Logic
    • Colorify Feature
    • Imagify Feature
    • "Free Sample" Feature
    • Arithmetic Operators
    • Manage Order Items
    • Suboptions export/import
  • For developers
    • Actions & Filters
    • JS events
    • Extending Uni CPO
  • Duplicating options and products
  • How to debug
  • Affiliation
  • Themes & Plugins Compatibility
    • Popup Maker How To
    • Boxtal
    • Pitchprint.com
    • NBDesigner
    • Toggle Tax For Woocommerce
  • FAQ
  • Refund Policy
  • Managing licenses and billing info
    • License Utilization
  • Uni CPO Add-ons
    • Custom dynamic SKU (paid)
      • Stock management based on dynamic SKU
    • "Send Inquiry" (free)
    • Hidden/disabled option (free)
Powered by GitBook
On this page

Was this helpful?

  1. How To Use
  2. Options

Text Input

PreviousOptionsNextText Area

Last updated 5 years ago

Was this helpful?

Adds a text input form field. It has three modes differentiated by the type of data it handles: string, integer, decimals. Currently, this is the only type of Option which has .

Tip: in order to let your Text Input option accept decimals, switch to "Decimals" mode and use Step setting to fine tune it. For instance, defining '0.1' as step allows accept one digit after the dot, but defining '0.0001' allows accept 4 digits after the dot! 4 digits is the maximum.

🏆 PRO FUNCTIONALITY: In addition to the main variable that holds the value itself, this Option also has these special vars:

{option_slug_count}
{option_slug_count_spaces}

These variables hold numbers of characters counted without spaces and with spaces respectively.

Validation Conditional Logic