Hello there
Is it possible to have JS on a value which is a calculation element?
Basically a button which has an onClick action to which reads the calculation value. The calculation element reads some data from the database. It will display the row count i.e. 5 or 0 and as I click the button I want to have an if based on the calculation element.
online_test___check_database is the calculation ...but the alert box is returning empty.
Is it possible to have JS on a value which is a calculation element?
Basically a button which has an onClick action to which reads the calculation value. The calculation element reads some data from the database. It will display the row count i.e. 5 or 0 and as I click the button I want to have an if based on the calculation element.
Code:
var checkUserTest = $('online_test___check_database').getValue();
alert(checkUserTest);
online_test___check_database is the calculation ...but the alert box is returning empty.