tin - Monday, April 14, 2014 9:38 PM:
Dear All,
I need javascript method for preventing from generating the report.
For example, Part-->Item number starts with D001-> right click select "Test Report" it should allow the user to generate the report.
Whereas the Part--->Itemnumber starts with T001--> right click select "Test Report" it should prompt message stating it is not applicable for this selected Item number.
I have designed the Report but i dont know to do validation in Javascript method and linked with the xslt report.
Can you anyone tried this before,then please guide me.
Thanks,
Tin.
DavidSpackman - Tuesday, June 10, 2014 11:42 PM:
Hi Tin,
Here is something that could be modified to do what you want.
On your report, set the location to client, and set a similar javascript method.
You should be able to use this.getProperty("item_number",""); to get your property value.