Finally got the URL redirect to work, using hidden type variables within the html