how to remove front 0 from the id

0
If the user enter id is 003456897 then it should print like  3456897 . how ?
asked
3 answers
2

toString(parseInteger($YourValue))

answered
0

If we are talking about an input field, you can create an On Change flow that uses a Java Action from the Community Commons Library. The library contains several actions for padding and trimming that you can use to change the field.

answered
0

If possible convert your string attribute to an integer on the domain level. 

Otherwise you can use a widget like CustomString https://marketplace.mendix.com/link/component/1426 to format your string attribute in to the desired format (https://docs.mendix.com/refguide/parse-integer)

answered