Dev: Use button[submit] validate form
Dev: test form validity before set #newpage
Dev: Todo : use button name/value and update database and remove this uneeded script