Input field variable type changes when data entered

Should an input field that’s bound to a page variable (type number), be changed to type string when a number is entered?

The initial type is integer until something is entered then it changes to a string, which is a bit frustrating.

can you share an image of the options in the input field?

Please see below. Thanks :slight_smile:

So the input field has its value type as number / text. This is why it is changed. Now what you can do is to go into the logic canvas of the input field. There you see the event “Component onChange” add your set page variable flow function there and set your priceEntry page variable to a formula.


This should solve your issue.

Yep that resolves the issue. Should have thought of that :wink: Thanks :slight_smile:

1 Like