I want to figure out that the given text field (say, my_text_field_1) has some value in it / is user entered any value in it / is it holding any value in it?
if (HasValue(MY_FORM.P1.MydetailsSub.CoName)) then
CoName = ""
CoName = "- CoName\u000a"
Cmsg = CoName
2) Also pls. let me know Wht does it mean of "- CoName\u000a" here?
if (HasValue(MY_FORM.P1.MydetailsSub.CoName)) // also you can check as if (FieldName.rawValue) != null
CoName.rawValue = "";
CoName.rawValue = "_CoName\u00a";
Cmsg = CoName.rawValue;
All Unicode characters have an equivalent 6 character escape sequence consisting of \u followed by four hexadecimal digits. Within any literal string, it is possible to express any character, including control characters, using their equivalent Unicode escape sequence. For example:
1) You said, this also can be achieved by checking !=null, fine,
if user enters a space/blank then, do i need check like != " " (one space)....okay, if user enters multipe spaces? i do not want to consider the spaces would be some values!
how can i address this item?
thats why i want to go with HasValue
I guess, if user enters the spaces, then, HasValue become FALSE, am i correct?
2)Pls. let me know here in the below, Wht the developer is trying to do? (right now, our system is down, so, i can not test it)
CoName.rawValue = "_CoName\u00a"; ===> how it looks to the end user, after executing this syntax/script? if developer/designer want to get it in a seperate new line, then, designer could use "\n" right?
CoName is text field in my_form.