updated code for sequence id of DB.
completed this validation for front page, and block error input form.
completed this validation for front page, and block error input form.