How to remove arrows and 0 in the text field

how to remove arrows and 0 in the text field, I need it to show with the prompt being an integer.

Regards.

Hello Dylan.


The arrows are a browser thing that you can't control. It sees an input of type number, places the arrows.

The 0 is the default null value for numbers in OutSystems.

What you can do to fix both is define the input as type text and only on data validation check if it is a number.

Nuno Reis wrote:

Hello Dylan.


The arrows are a browser thing that you can't control. It sees an input of type number, places the arrows.

The 0 is the default null value for numbers in OutSystems.

What you can do to fix both is define the input as type text and only on data validation check if it is a number.

To complement what Nuno said I would use the input as text and in the Save action apart of the validation to check if is a number using Built-in "TextToIntegerValidate()"  but  also a DataConvert function as "TextToInteger()" to convert the text to integer

Hope I could help you

Best Regards

Carlos Lessa

Dylan Yáñez wrote:

how to remove arrows and 0 in the text field, I need it to show with the prompt being an integer.

Regards.


Change the data type to text and apply validation, also you can enter prompt message