Damn!
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Ultimate Recipe] How to edit the AMP templateI’m sorry but I’m afraid I’m not quite following you. How do I go about doing that?
Thanks.
Forum: Plugins
In reply to: [The GDPR Framework By Data443] Can’t leave any comments with GDPR activatedI am experiencing the same issue. Cannot comment when GDPR Framework plugin is activated. Tested with Native wordpress comments, Jetpack comments, WP-Discuz.
Please fix this.
Forum: Reviews
In reply to: [Monitor BlockAd] Simple yet PowerfulIf anybody is looking for the same behavior, here is the fix.
Find the below tag in monitorblockad.php (located inside the plugin folder)
<span id='adblock_screen' style='display:none'>
and replace it with this:
<span id='adblock_screen' oncontextmenu='return false;' style='display:none'>
Thanks.
After much hassle I switched to a different rating plugin thanks to the fantastic support. And guess what? the ratings started to appear in google SERP in just 2 days from the switch.
Understood. Thanks for the help so far.
Hello,
I tried to load the chart when the radiobox selection changes:
jQuery(document).on('change', '[id*="fieldname4_"]', function(){
but now the sliders fail to load. However the chart displays when the radio buttons change.
Thank you. Like I said, I will request custom coding but I’ll have to wait till the end of this month. Until then I thought I will try my hand at this.
Thank you. But that syntax returns 0.
ref page: damnripped.com/test
Forum: Plugins
In reply to: [Calculated Fields Form] How to show values in a chart?Hello,
I tried to implement canvasjs charts today. I have this code currently and I’m having problem with fetching the value of the calculated field.
<!DOCTYPE HTML> <html> <head> <script> window.onload = function () { var carb = jQuery('.my-carb').val(); var protein = jQuery('.my-protein').val(); var fat = jQuery('.my-fat').val(); var options = { animationEnabled: true, title: { text: "Macro Split Chart" }, data: [{ type: "doughnut", innerRadius: "40%", showInLegend: true, legendText: "{label}", indexLabel: "{label}: #percent%", dataPoints: [ { label: "Carbohydrates", y: carb }, { label: "Protein", y: protein }, { label: "Fat", y: fat } ] }] }; $("#chartContainer").CanvasJSChart(options); } </script> </head> <body> <div id="chartContainer" style="height: 370px; width: 100%;"></div> <script src="https://canvasjs.com/assets/script/jquery-1.11.1.min.js"></script> <script src="https://canvasjs.com/assets/script/jquery.canvasjs.min.js"></script> </body> </html>
However, If I replace these
var protein = jQuery('.my-protein').val();
with numeric values like thesevar protein = 33;
the chart works. Please help me with the correct syntax to fetch the values.Thanks.
Thank you very much for that.
Ok thank you. I guess that’s just out of scope. One more question, how do I make the sliders read only?
And btw, the print block does not hide the CP Blocks buttons when print button is clicked.
Damn, Seems like a lot of work. Is this achievable if I request for a custom coding?
Hello,
Now as soon as I drag the slider it goes back to its initial place. If I am not wrong the above code tries to click the calculate button on change of slider value? instead of that, I just want to run the code inside
fieldname93
every time the slider value changes.I will surely request a custom coding service to implement charts in my forms but I gotta wait until the end of this month for that.
Thanks.
Hello,
Still no luck. The value doesn’t change. And I do have fieldname85 and 93. Please see this screenshot: https://prntscr.com/hqxu3x
Thanks
Hello,
Thanks for the code. I tried it and the value of the calculated field doesn’t change on change of the slider value.
<script> jQuery(document).on('change', '[id*="fieldname85_"]', function(){ jQuery('[id*="fieldname93_"] input').click(); }); </script>
ref page: https://damnripped.com/test/
Thanks.