Mylene Posted May 16, 2017 Report Share Posted May 16, 2017 Hey everyone, I need some help. I tried to reference to record index in calculated field on results page, however it seems that this parameters is available in html block and header footer only. Is there any workaround? I need to multiply record index and rate field. Thanks! Quote Link to comment Share on other sites More sharing options...
Mathilda Posted May 16, 2017 Report Share Posted May 16, 2017 You may insert the following java script in the html block: <script> var x=[@cbRecordIndex]; var y=[@field:Your_field]; document.write(x*y); </script> Don't forget to change name of the field in the y variable Cheers! Lepidoptera 1 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.