Hi,
is it possible, to show a leading zero in a numeric formular field?
Example: 09678 instead 9678
If i change the field type to text, all existing values dissappear due the change of field type.
Hi,
is it possible, to show a leading zero in a numeric formular field?
Example: 09678 instead 9678
If i change the field type to text, all existing values dissappear due the change of field type.
Hi,
if you have your field is of type floating-point number instead of integer, you can use the advanced configuration to display a leading zero in the UI using the prefix.
It's important to note, that the suffix will only be displayed in the UI. If you would copy the value to another field, the prefix won't be part of it.
If you are using an integer value currently, you would need to change the type anyway.
You could achieve this by:
- creating a workflow which copies the field value from the old to the new field.
- writing to the database which is not supported
You could read through this and decide, whether you want to use this.
https://daniels-notes.de/posts/2023/migrating-field-values#copy-values-to-a-global-field
Best regards,
Daniel
Hi,
if you have your field is of type floating-point number instead of integer, you can use the advanced configuration to display a leading zero in the UI using the prefix.
It's important to note, that the suffix will only be displayed in the UI. If you would copy the value to another field, the prefix won't be part of it.
If you are using an integer value currently, you would need to change the type anyway.
You could achieve this by:
- creating a workflow which copies the field value from the old to the new field.
- writing to the database which is not supported
You could read through this and decide, whether you want to use this.
https://daniels-notes.de/posts/2023/migrating-field-values#copy-values-to-a-global-field
Best regards,
Daniel
Hi Daniel,
thanks for reply. That's what I'm looking for!