Can we restrict spaces to be enter in a field?

iamlearner
Mega Contributor

Can we restrict spaces to be enter in a field?

Regards,

Lrr

6 REPLIES 6

If your issue is solved please close the thread by marking the answer as correct so that it becomes helpful for others having the same issue. You can find correct option when you click below link.


Can we restrict spaces to be enter in a field?


akashsrm100
Kilo Guru

Hi



if(newValue.Match(' '))


{


alert('Remove space from field');


}