<p>Hi.i have created a report and its access by jsp page...so i have to check field its selected or not if not its alert the message...It all done well on RUN BUTTON but it Render the Report Parameter page .....it not allow to select field again when alert message is provide...this my code..how to deactive the Report Parameter page???</p><p>kindly look at the screenshot by this link::</p><p><a data-ipb='nomediaparse' href='
https://www.dropbox.com/s/7kp4r24xm7yuvia/Screenshot at 2013-11-12 11:09:09.png'>https://www.dropbox.com/s/7kp4r24xm7yuvia/Screenshot at 2013-11-12 11:09:09.png</a></p><pre class="_prettyXprint"><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib uri="/birt.tld" prefix="birt" %><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head> function validate(){if (document.getElementById("country").value == "" || document.getElementById("country").value == null){alert("please select country");}if (document.getElementById("zone").value == "" || document.getElementById("zone").value == null){alert("please select zone");}if (document.getElementById("state").value == "" || document.getElementById("state").value == null){alert("please select State");}if (document.getElementById("city").value == "" || document.getElementById("city").value == null){alert("please select city");}}</script></head><body> <birt:parameterPage id="birtParmPage" reportDesign="geography.rptdesign" name="myForm"pattern="frameset"isCustom="true"showNavigationBar="false"target="geo"forceOverwriteDocument="true"><table><tr><td><font size="2">Select Geography</font></td><td><font size="2"><birt:paramDef name="Geography" id="Geography" cssClass="class1" /></font></td></table><table><tr><td><font size="2">Select Country</font></td><td><font size="2"><birt:paramDef id="country" name="country" cssClass="class1" /></font></td></tr><tr><td><font size="2">Select Zone</font></td><td><font size="2"><birt:paramDef id="zone" name="zone" cssClass="class1" /></font></td></tr><tr><td><font size="2">Select State</font></td><td><font size="2"><birt:paramDef id="state" name="state" cssClass="class1"/></font></td></tr><tr><td><font size="2">Select City</font></td><td><font size="2"><birt:paramDef id="city" name="city" cssClass="class1" /></font></td></tr><td ><font size="2"><INPUT TYPE="submit" VALUE="RUN REPORT" onclick="validate()"></font></td></birt:parameterPage></body></html></pre>