Jump to content

Use Aggregate Value as variable in Javascript


Recommended Posts

I have a Report DataPage which includes a count of all rows having a particular attribute. Caspio correctly displays and stores this aggregate value as "Aggregate 1". I would now like to show a message when this value exceeds a set limit. I have tried to set a variable to the aggregate field, but with no sucess:

var v_total = document.getElementById("Aggregate_1")
Is there a way to capture an aggregate value without re-coding the full aggregation in JS? :?:
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...