Create form handling on client