infopath2010 - InfoPath Formula in Rules -


i'm new writing formulas in infopath , can't see i'm doing wrong following:

if (contains(username(), "\")) { substring-after(username(), "\") } else }  username() } 

the above erroring on first brace

i can write 2 rules achieve same thing use above approach if can done!?

this form load rule in infopath 2010

found seems explain it, in case else has same issue...

http://blogs.msdn.com/b/infopath/archive/2006/11/27/conditional-default-values.aspx


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -