start survey edit iunput validation

When add multiple empty question and submit, warning is generated, but empty questions are merged.
Use a constant variable at the top to define the deleted status, like `var STATUS_DELETED = 0`