Single line text field not considering leading and trailing spaces as output value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 05:45 AM - edited 04-22-2024 05:47 AM
Hi All,
I have a single line text field on a catalog form. I need to do some operations based on if there are leading or trailing spaces for the value entered in that field. The problem is when I am printing the value of the field with leading and trailing spaces as an alert, it seems to automatically trim the spaces and instead only displaying the characters, which means its not considering the spaces as output value. How do I include them as part of the value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 06:18 AM
@Arka Banerjee Please share example of the text in the single line text field.
Regards,
Priyanka Jeganathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 06:26 AM
' Abc '
Something like this