I have two datapages embedded into one single external html page. Each datapage performs a total sum calculation. I would like to then be able to do a simple calculation off of these two calculated values. I am looking to essentially do the following:

[CalculatedField1] - [CalculatedField2] = Result

Is there a piece of Javascript I can insert into the actual external HTML page?

Also, if this is possible, can I write a message if [CalculatedField2] is greater than [CalculatedField1]?

Thank you in advance from a long-time and very loyal Caspio client.

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.

## Question

## gregcoiro

Hello,

I have two datapages embedded into one single external html page. Each datapage performs a total sum calculation. I would like to then be able to do a simple calculation off of these two calculated values. I am looking to essentially do the following:

[CalculatedField1] - [CalculatedField2] = Result

Is there a piece of Javascript I can insert into the actual external HTML page?

Also, if this is possible, can I write a message if [CalculatedField2] is greater than [CalculatedField1]?

Thank you in advance from a long-time and very loyal Caspio client.

## Link to comment

## Share on other sites

## 2 answers to this question

## 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.