- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I need to remove spaces from a text field in case the end user uses the space bar
to erase text. I found this script on the Forum:
function RLTrim(Cadena){
var str = new String(Cadena);
return str.replace(/(^\s*)|(\s*$)/g,"");
}
I already have JavaScript in the Exit event on this field. I'm not certain where I should put this new script.
Thanks,
MDawn
Views
Replies
0 Likes
Total Likes