publish: form validation error message

generated from commit 8b9d1c3b0d92cd29846e7f5437ccdb71306be25d