Skip to main content

How to Customize Number-Type Questions

Learn how to add and customize Number questions in Yay! Forms: set minimum and maximum values, decimal places and separator, and add a prefix or suffix like $ or %.

The Number question type only accepts numeric answers: quantities, ages, budgets, scores. Because the answer is guaranteed to be a number, you can safely use it in calculations, logic conditions, and clean numeric reports.

In this article you’ll learn how to add a Number question, edit its text, and configure its settings: required answers, minimum/maximum values, decimals, and a prefix or suffix.

Add a Number question

Click + Add question in the left sidebar and pick Number under Text and number.

The question type menu with Number highlighted

Write the question and description

Click “Your question here.” in the canvas and type your question, for example “How many people work at your company?”.

The question text field highlighted in the canvas

Use the optional description field below it to clarify the unit or range you expect.

The optional description field highlighted in the canvas

Question settings

With the question selected, the Settings section in the right panel controls how the question behaves.

The Settings section of the question panel highlighted

Required

Turn on Required to prevent respondents from skipping the question. An asterisk appears at the end of the question line, and the form won’t advance until a number is entered.

The Required toggle on in the question settings

Min/max

Turn on Min/max to only accept answers inside a range. Two fields appear, Min and Max, and answers outside the range are rejected. Great for quantities that have natural limits, like “How many licenses do you need?”.

The Min/max toggle on, with the Min and Max fields below it

Decimal

By default, Number questions accept whole numbers. Turn on Decimal to accept fractional answers, then choose the number of Decimal places and whether the Decimal separator is a period or a comma.

The Decimal toggle on, with Decimal places and Decimal separator below it

Prefix and suffix

Use Prefix and Suffix to frame the number for your respondent: a currency symbol before it ($), a unit after it (%, kg, /month). The affix appears in the answer box as the respondent types.

The Prefix and Suffix fields highlighted in the question settings

Conclusion

You’ve learned how to add a Number question and shape exactly what it accepts: a required answer, a min/max range, decimals with your preferred separator, and a prefix or suffix for context.

Related articles: