I've been trying to pass the values of a calculated field to an actual field in my table. I did scour the entire forum for knowledge and tried everything I could find as methods. So far, none worked for me.
I tried these:
1) Passing values by hiding the actual field and choosing "Data Source Fields" to receive values. This doesn't work.
2) I tried putting a virtual field, hiding it and choosing "on load receive value parameter", choosing the calculated field, then "on exit pass field value parameter". Then I used the virtual parameter to load my actual field. This not only did not work, it caused my details to load so very slowly.
3) Then I also tried the javascript below.
4) I also tried a combination of all of these, with the javascript in the footer.
So far, none has worked.
<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 all,
Please help. I will appreciate any advice.
I've been trying to pass the values of a calculated field to an actual field in my table. I did scour the entire forum for knowledge and tried everything I could find as methods. So far, none worked for me.
I tried these:
1) Passing values by hiding the actual field and choosing "Data Source Fields" to receive values. This doesn't work.
2) I tried putting a virtual field, hiding it and choosing "on load receive value parameter", choosing the calculated field, then "on exit pass field value parameter". Then I used the virtual parameter to load my actual field. This not only did not work, it caused my details to load so very slowly.
3) Then I also tried the javascript below.
4) I also tried a combination of all of these, with the javascript in the footer.
So far, none has worked.
<SCRIPT LANGUAGE="JavaScript">
function concatenate()
{
var x = document.getElementsByName("[@calcfield:44#]")[0].value;
document.getElementById("InsertRecordNew_Job_Grade").value = x;
}
document.getElementById("caspioform").onload=concatenate;
</SCRIPT>
Link to comment
Share on other sites
6 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.