Which language? What "field"?
This is what I use in Velocity to check if a macro parameter is empty:
#if ("$!my_document"=="")
#else
#end
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Check-if-field-is-empty-tp7589525p7589530…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.