Extract UUID from form input