Main form commit