I have an Input of a text, the variable linked to it is also a text type, I noticed that if you insert a text input in the widget and add few space in the right side like this:


On save those spaces are automaticaly ignored/trimmed. 

Question is there a way to not ignore them? thank you

Hello Norman,


The value is saved in the database like you have typed.


Jorge Rodrigues

Jorge Rodrigues wrote:

Hello Norman,


The value is saved in the database like you have typed.


Jorge Rodrigues

rly? thats strange because when i was debugging and checking the values it was like this:   there was no space at the end, and there was no trimming action either


Jorge Rodrigues wrote:

Hello Norman,


The value is saved in the database like you have typed.


Jorge Rodrigues

Agree on this one as well. I haven't done actual test but I know it does this. Unless you trim it.


Hi.

Yes, Like said above the value is saved in the database like you have typed.

To ignore leading and trailing spaces, you can use the built-in function (Trim) Trim (String) function, which will remove the space from the string.



I hope this help you

Regards,