Skip to content

ITC Forms 0.15.6Changelog

Fields and conditional logic

The builder supports text, email, telephone, textarea, consent, number, date, date-time, URL, select, radio, checkbox, checkbox-group, hidden attribution, and structural content fields. Labels are public; field keys and option values are stable identifiers used by entries, feeds, imports, and extensions.

Conditions use a flat all or any rule group. A condition can show or hide a field, make it required or optional, include or skip a page, enable a configured delivery, or select an ordered confirmation message. The first matching confirmation is used and the form’s default message remains the fallback. Multiple rule sets are supported; every set must match for a delivery or confirmation to run, while each set can match all or any of its rules.

The builder filters operators by source-field type, summarizes rule sets in plain language, keeps the controls keyboard reachable, and prevents direct or transitive circular field dependencies. The server evaluates every condition again, discards hidden values, and never trusts the browser’s required state.

Add a Page break wherever a new step should begin. Each break is labelled in the builder for orientation. The public form progressively adds a progress bar and Previous/Next controls; without JavaScript, every field remains visible and the normal server-validated form still works.

Next validates the current page before moving forward. Final submission checks all included pages, returns to the first invalid page, and preserves values from completed pages. Add Show/Hide rules to a Page break to include or skip the page that follows it. Skipped-page controls are disabled in the browser and those values are independently discarded by the server.

File fields require entry storage. Configure an explicit MIME allowlist and a 1–50 MB field limit; the server checks the detected file content rather than trusting the browser filename or Content-Type header. Defaults allow PDF, JPEG, PNG, and WebP.

Files are stored under random opaque identifiers in protected plugin storage, not in the Media Library. The default remains in WordPress’s persistent uploads volume so container redeployments cannot discard files. Entry values, webhooks, exports, and email merge tags receive only safe metadata—never a filesystem path. Authorized entry viewers download through a capability- and nonce-protected admin action. Deleting an entry, privacy erasure, retention, and opt-in clean uninstall remove its bytes and metadata together. Hosts with a non-standard or read-only filesystem should set ITC_FORMS_PRIVATE_UPLOAD_DIRECTORY or use the itc_forms_private_upload_directory filter to select a persistent non-public location. Legacy uploads remain readable during this transition.

The Address field renders one accessible group with browser autofill semantics for street, address line 2, postal code, city, state/region, and country. Stored values use the stable subkeys line_1, line_2, postal_code, city, region, and country; labels may be translated without changing delivery, export, or integration contracts. When the field is required, street, postal code, city, and country are required while line 2 and region stay optional. Email merge tags and wp-admin entry views format the parts as a readable address.

The Signature field provides pointer/touch canvas capture and a typed-name alternative for keyboard and assistive-technology users. Canvas signatures are validated as bounded PNG images, stored in the same protected storage as file uploads, and deleted with the entry’s retention, privacy-erasure, or clean uninstall lifecycle. Entry viewers receive a protected download action; typed signatures are stored as sanitized structured text. A signature is evidence of the submitted form interaction, not a replacement for legal advice or a qualified electronic-signature service where stronger identity assurance is required.

Rating fields use native radio-button semantics and can be configured as a 1–5 or 1–10 scale. Stored values are stable numeric strings, so conditions, exports, REST consumers, and delivery merge tags do not depend on the visual presentation. The server rejects values outside the configured range.

Repeatable groups define a bounded nested schema (up to 12 text, email, phone, number, or date subfields) and a 0–50 row contract. Editors set minimum and maximum rows plus required subfields; visitors can add and remove rows with announced keyboard-accessible controls. Stored values are ordered rows keyed by stable subfield machine names. Unknown keys and excess rows are discarded, and every nested value is sanitized and validated server-side. Empty optional rows are omitted. Conditional logic can test whether the group is empty, while merge tags, entry views, privacy exports, and CSV exports receive readable, deterministic row output.

When changing an established form:

  • prefer changing labels instead of keys or option values;
  • duplicate a field when its meaning changes materially;
  • test both matching and non-matching condition paths;
  • verify exported entries and delivery mappings after the change.