Streaming live at 10am (PST)

Type Attribute is reserved

I must input attribute type = number
Keeps getting this error message

Hi @miekwave

Thanks for posting — this is expected behavior at this point as the type attribute is reserved.

I’ve pinged the engineers to find out exactly why this is reserved and will get back to you when I have more info.


Type is reserved because we use this attribute for form fields



See Designer 14: “Known element reserved custom attribute names”

► [LIST] Feature Availability & Limits

The alternative is to use a JavaScript workaround to “convert” the field’s type on page load.

$('.number-field').attr('type', 'number');

We just shipped a change to allow number under “Text Type:”

You can also set custom attributes like min, max, and step.


Excellent news! that was fast!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.