Tuesday, 2 August 2011

Remove Prompt Name and Hyphen (Dashes) from the Prompt s

Launch the Report Studio ,drag HTML object into workspace and paste the below code

<script>


document.formWarpRequest._oLstChoicesReportDetailID.remove(0);
document.formWarpRequest._oLstChoicesReportDetailID.remove(0);
document.formWarpRequest._oLstChoicesReportDetailID.removeAttribute('hasLabel');
setTimeout('listBoxReportDetailID.checkData()', 100)

</script>

In the above code,ChoicesReportDetailID is the ID of the Prompt

No comments:

Post a Comment