i have a button the type is submit. The onClick calls a client-side vbscript that does some form validation field checks. if the form validation is ok then a case statement evaluates what button was press but user then forms a query string to submit and process. for some reason the form stills submits even when the code does not get to the format querystring part. Is there a way to dynamically change the button type??