I have a control with several fields and a button I created that takes the field values, runs a query and formats and HTML that is displayed on a different page. The problem is the button I created does not force a field validation (all fields are required). Is there a way to force field validation within the PHP script that formats the output?
Also I tried using the Ok button and the onValidate event but what happens is the formatted HTML output is displayed above the input fields after the form is redisplayed. I don’t want that to happen so I can’t use the Ok button to do what I want.