Fix missing tableless state in form_message

The form message templates checks if form is tableless, but currently the state is not set. This pull request passes the tableless state to form_message template.