Check if field is empty

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Check if field is empty

DeHaynes
This post has NOT been accepted by the mailing list yet.
What is the way to check if a field is empty?
Reply | Threaded
Open this post in threaded view
|

Re: Check if field is empty

Hamster
Which language? What "field"?

This is what I use in Velocity to check if a macro parameter is empty:

#if ("$!my_document"=="")

#else

#end
Reply | Threaded
Open this post in threaded view
|

Re: Check if field is empty

DeHaynes
Thank you very much.