12
Views
6
Comments
Solved
Prohibit space in input
Question
Application Type
Reactive

Good day,

I would like to ask is there any simple way to prohibit space for an input.

Thanks in advance.

Joe.


Solution

Hi @Joe Ng ,


Here you will see some extended properties.


Add the Js in the event handler.


Regards,

Wasimkhan S

Solution

Hi Wasim Khan,


I try this method before and it pop out a message '$ is not defined' when each characters I type.


But just now I finally understand the solution with the On Blur Event in the attached post.

First step is create an On Blur event for the input, and set assign for the handler.


I am interesting on your solution too, I will try it soon by refer your guidance.


Thank you very much for your answer.


Regards,

Joe Ng.

Solution

Hi Wasim Khan,


I try this method before and it pop out a message '$ is not defined' when each characters I type.


But just now I finally understand the solution with the On Blur Event in the attached post.

First step is create an On Blur event for the input, and set assign for the handler.


I am interesting on your solution too, I will try it soon by refer your guidance.


Thank you very much for your answer.


Regards,

Joe Ng.

Hi @Joe Ng ,


May I know the "Input" refers to Input parameter or Input widget?


Regards,

Wasimkhan S

Hi Wasim Khan,


It is input widget, I want to restrict space in the input widget.


Thank you.


Regards,

Joe Ng.

Hi @Joe Ng ,


You can find answer in Forum which was already solved.

Check this post. Hope It will help you. 

https://www.outsystems.com/forums/discussion/85754/restrict-space-using-javascript/

Hi Wasim Khan,


Actually I read the post you mentioned before and some other similar posts.

But I'm not clear about the step to do, I am new to Outsystems, so I may not understand some steps that are common to experienced user but not common to me.


Thank you for your response, I will try to revise the link you attached.


Regards,

Joe Ng.

Solution

Hi @Joe Ng ,


Here you will see some extended properties.


Add the Js in the event handler.


Regards,

Wasimkhan S

Solution

Hi Wasim Khan,


I try this method before and it pop out a message '$ is not defined' when each characters I type.


But just now I finally understand the solution with the On Blur Event in the attached post.

First step is create an On Blur event for the input, and set assign for the handler.


I am interesting on your solution too, I will try it soon by refer your guidance.


Thank you very much for your answer.


Regards,

Joe Ng.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.