Displaying 1 result from an estimated 1 matches for "basic_text_block".
2006 Sep 10
1
validates_format_of :something, :with => /REGEX/
...:with => [ only characters that are commonly found in Names,
ie: NOT {^%$([]\/><?;* ) ]
validates_format_of :email,
:with => [ valid email format & characters ]
validates_format_of :url,
:with => [ valid url format & characters ]
validates_format_of :basic_text_block,
:with => [ only letters, numbers, punctuations and spaces,
but NO HTML or code characters ]
validates_format_of :basic_text_with_textile_block,
:with => [ textile approved characters ]
OK, you get the picture, now imagine if it was working like this:
validates_format_o...