Wysestats Docs
Using the App

Create custom elements

Use AI-assisted form interactions when a plain field is not enough — describe the interaction, review the result, then publish.

Custom elements let you ask for a richer form interaction than a plain text or option field. Use them when the way a person answers matters as much as the data itself — choosing a quantity from a grid, picking a time slot, rating something on a scale.

When to use a custom element

Reach for a custom element when a generic field would lose information or feel awkward. Good candidates:

  • quantity grids
  • rating scales
  • chips and segmented controls
  • time-slot pickers
  • richer multi-option selection patterns

If a plain text input or single-choice field captures the answer well enough, prefer the simpler field. Custom elements are worth the extra setup only when the interaction itself is part of the form's value.

How to prompt well

Describe the interaction, not only the field. The more concrete the description, the closer the first draft will be to what you want.

Weak prompt:

  • "Make an input for quantity"

Stronger prompt:

  • "Create a clickable button grid from 1 to 30 for quantity selection, single choice, 6 columns"

Include four things in every prompt:

  • Selection behavior — single or multiple
  • Option volume — exact range or count ("1 to 30", "5 options", "hourly slots")
  • Visual shape — grid, chips, cards, scale
  • Value format — number, percent, currency, date range

Workflow

  1. Open the form in Leads.
  2. Choose Create a new custom element.
  3. Write the prompt with the four ingredients above.
  4. Wait for the staged generation flow to finish.
  5. Preview the element inside the form, in context.
  6. Adjust the field label, required toggle, and any option text that needs polishing.
  7. Publish only after testing the interaction yourself in preview.

Common mistakes

  • Asking only for "an input" without describing the interaction.
  • Forgetting option count or range, which leads to placeholder choices.
  • Mixing two unrelated interaction ideas into one request — generate them separately.
  • Publishing without trying the element in preview.

Prompts that tend to work well

  • "Create a clickable button grid from 1 to 30 for quantity selection, single choice, 6 columns."
  • "Create a 1 to 10 rating scale for campaign fit with clear low and high labels."
  • "Create a color picker with brand-safe swatches for theme selection."
  • "Create a time slot selector for 30-minute booking windows."
  • "Create a multi-select chips input for preferred content categories."