Skip to content
Discussion options

You must be logged in to vote

Hi @thelfensdrfer

Thank you very much for your question.

Do you still use the onGetFieldValue event to trim the string values (as described here: #311 (comment))?

If yes, why do you not use the onBeforeGetFormData event and trim the form values in the fields directly? This way, the field value is trimmed for both mosparo validation and when submitting the form later. With the onGetFieldValue, you only trim the value for the mosparo validation, so the value in the field is still untrimmed.

Did you remove the logging that you added before? Or do you still see the mosparo response? If yes, do you see the spaces in the value?

Another question in my mind: is it a normal space that is added to …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thelfensdrfer
Comment options

Answer selected by thelfensdrfer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants