I am implementing the chatbot for asking question regarding currency value to the user. But since the input field is an open field so a user can input in any format (for example "400$" or just "400" or "$400"). But the client message gets created with the same input value that was entered whereas I want to format it and set clientMessage as the updated(formatted value of the string) value.
How can I suppress the initial input by the user and instead show only the formatted value in the clientMessage area.
Hi,
I am implementing the chatbot for asking question regarding currency value to the user. But since the input field is an open field so a user can input in any format (for example "400$" or just "400" or "$400"). But the client message gets created with the same input value that was entered whereas I want to format it and set clientMessage as the updated(formatted value of the string) value.
How can I suppress the initial input by the user and instead show only the formatted value in the clientMessage area.