Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding White Space with business rules

Highlighted
Stephen Ellis_2
Super Collector

Finding White Space with business rules

I am wanting to check solution summaries to make sure that people aren't just hitting the space bar to fulfill the required field content. So in the UI rule I am wanting to check if the Solution Summary is(exactly) (space). Anyone got anything like this working?
2 REPLIES
Ramaprasad N
Esteemed Contributor

Re: Finding White Space with business rules

Which version of SD and Service Pack are you using? I think there is a function recent service packs - Remove trailing spaces and Remove leading spaces. You may use these functions in your UI rule to check for value. For ex, when a value if changed and solution is not empty (*), then update data - remvoe trailing spaces of solution. And then, another rule to execute before saving and on status closed, to check if solution is not empty.

My two cents worth,

-Ram
Stephen Ellis_2
Super Collector

Re: Finding White Space with business rules

On SD4.5 SP17. The rules also checks for a lot of other possible single word invalid entries such as fixed, done, complete. So am really wanting just another criterion for white space.
//Add this to "OnDomLoad" event