Browser goto with dynamic value using submit button for form

The Browser GoTo should work on the Form element, i.e. OnSuccess. Have a look at wCart Tutorial part 11. Checkout Functionality, step 79 onwards.