Add form validation

Error handling when input is leq 0 or contains non-number symbols

Edited by Jakob Schneider Villumsen