Space at end of text field input

Resolved

I have a question that I ask users to enter country. If they put a space at the end of their answer it saves to firebase with the space, then when they do a search for their information without a space at the end it will not find them.

Is there a way to make sure there is no space at the end of a text input field before saving and when searching?

Thank you so much for any help.

1
5 replies