Client side Form Validation problem

Jan 13 2009 6:37 AM
Hi All,

Not sure if this is the right place for this but please advise if its in the wrong place!

We are working on a project using c# / .net and built in Visual Studio. We have made a form which is basically collecting some user information name, address, email etc.

I have put on some form validation from adobe similar to this http://labs.adobe.com/technologies/spry/samples/validationwidgets/with_spry_region/widgets_region.html
The problem is that our form has 2 submit buttons, one is to confirm the page and proceed and the other is to amend previous details. Because we have 2 buttons on the same form the validation runs no matter which button you press, but we only want it to run on the continue button.

Does anyone know of how we can get around this?

thanks
John

Answers (6)