Outlook email templates with fillable fields for numbers
In this article
To create custom input fields that accept only numbers, use the WhatToEnter macro. Follow these steps:
Start creating or editing your template, place the cursor where you’d like to add a field for numeric values, and then select the Insert macro button on the template editor toolbar.

Select What to enter (WTE).
The What to enter dialog will automatically show up.
On the General tab, select Number, enter the field name, and specify a default value.

On the Advanced tab, you can:
- Specify the value to insert into an email message if the result returned by the WhatToEnter macro is not empty.
- Specify the value to insert into an email message if the result returned by the WhatToEnter macro is empty.
- Enter a minimum value.
- Enter a maximum value.
On the 123 tab, you can select a language, specify the number of decimal places, and choose whether to use a thousands separator.
When you’re done, select OK.
When the macro placeholder appears in your template, select Save.

Each time you use the template to compose your email, a dialog will appear so you can enter the number you need for your message. Enter the necessary value and select OK.
