- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Try the following code.
//Trim the field's rawValue to check for the blankness.
if(my_text_field_3.rawValue.replace(/^\s+|\s+$/g,"") == "")
my_text_field_3.rawValue = "Blank";
if(my_text_field_3.rawValue == null)
my_text_field_3.rawValue = "Null";
Thanks
Srini