rgiljohann Posted September 26, 2019 Report Share Posted September 26, 2019 After following a couple of threads on the related topic, I still cannot figure this out... I have a report page that shows a chart that has the search above the chart. The search is just a listbox that allows multiple entries by holding control. I have the below script in my footer along with a Virtual Field (Virtual1) hidden that is passing parameter Virtual1. I have a second pie chart on the page below that takes the parameter from Virtual1 as CONTAINS. However, this pie chart will not work based on the script below. I believe the parameter is not passing at all, and I am not sure why. Does anyone see any issue? Here is my current website I am testing this out on: https://simionehhaclaims.weebly.com/dashboard-v2.html The pie chart should be pulling up below the bar/line combo chart but it will not work. <script type="text/javascript"> var fieldName = "Value1_1"; var x1=document.getElementsByName(fieldName); x1[0].multiple=true; function splitAndParse() { var result = ""; var cleanResult = ""; for (var i = 0; i < x1[0].length; i++) { if (x1[0].options.selected) { result += "\""+x1[0].options.value+"\"" + " OR " ; } } document.getElementById("cbParamVirtual1").value = result; } setTimeout(splitAndParse, 20); </script> Quote Link to comment Share on other sites More sharing options...
Vitalikssssss Posted October 9, 2019 Report Share Posted October 9, 2019 Hi @rgiljohann, I think you can utilize a workaround from the following topic. Hope this helps. Regards, vitalikssssss Quote Link to comment Share on other sites More sharing options...
rgiljohann Posted October 10, 2019 Author Report Share Posted October 10, 2019 Thanks for this. It looks like this will work for the datapages all deployed on one page. However, I am assuming there is no work around to do this for datapages deployed on a second URL? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.