I am having hard time writing a javascript to embed inside a HTML mainly for validating prompts in report studio. I know the logic but having hard time finding the right property or methods of a prompt defined within cognos. Does IBM list these anywhere, I couldnt find any documents out there?
This may help you. There are samples on validating the prompts.
http://pic.dhe.ibm.com/infocenter/cbi/v10r2m0/index.jsp?topic=%2Fcom.ibm.swg.ba.cognos.ug_cr_rptstd.10.2.0.doc%2Fc_rs_smples_prompt_api.html