Limit the length of the SMS field. Currently vibrate() only accepts an array of 128 ints. This should prevent the user from entering a string which is too long.
Resolved maxlength conflict
Changed the pattern length check comment to be a bit more meaningful