don't print array, when formcaption is empty

Signed-off-by: Bruno Perner <b.perner@gmx.de>