Section validation

Separated on submit functions for Sections... first validates and then if value is not empty it call submitNewSection function.
Also made content form input value empty after each submit.