In my Report Details, I have this field, "New_Job_Grade" that takes value from calculated field, [@calcfield:44#].
I am using the script below which I copied from somewhere else here in the forum. It sure works wonderfully.
However, I would like for the field "New_Job_Grade" to be automatically updated and not wait for the form to be submitted everytime "[@calcfield:44#]" is changed.
Is there a way to amend the ".onsubmit=concatenate" to automatically update the form and not having the need to push any button?
Thank you in advance. Below is the script.
<SCRIPT LANGUAGE="JavaScript">
function concatenate() { var x = document.getElementsByName("[@calcfield:44#]")[0].value;
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
Elena
Hello,
In my Report Details, I have this field, "New_Job_Grade" that takes value from calculated field, [@calcfield:44#].
I am using the script below which I copied from somewhere else here in the forum. It sure works wonderfully.
However, I would like for the field "New_Job_Grade" to be automatically updated and not wait for the form to be submitted everytime "[@calcfield:44#]" is changed.
Is there a way to amend the ".onsubmit=concatenate" to automatically update the form and not having the need to push any button?
Thank you in advance. Below is the script.
<SCRIPT LANGUAGE="JavaScript">
function concatenate()
{
var x = document.getElementsByName("[@calcfield:44#]")[0].value;
document.getElementById("InsertRecordNew_Job_Grade").value = x;
}
document.getElementById("caspioform").onsubmit=concatenate;
</SCRIPT>
Link to comment
Share on other sites
5 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.