There are two values that I change each time I copy and paste the code. The Virtual field (in red above) and the InsertRecord field (also in red above)
Is there a way that I can pass the two values and then call a routine?
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
Lynda
Let me preface this post - I AM NOT A JAVA OR HTML PROGRAMMER
I have a solution where I am copying Virtual calculated fields to table fields in the Footer section of the Add page. I also do this on the Edit page.
I have MANY calculated virtual fields. 54 to be exact. They are VERY complicated Add/Edit pages, and are the center of my application.
The problem I am having is that in the Footer section of my page, I have reached the 10,000 char limit, and cannot transfer the remaining fields.
The code that I use to transfer one field is:
document.addEventListener('DataPageReady', function (event) {
document.getElementsByName('cbParamVirtual47')[0].addEventListener("change", calcValueHandler); // Vegetables Weekly
function calcValueHandler(event) {
let calcFieldValue = event.target.value;
const editableField = document.getElementById('InsertRecordFGVegetablesWeekly');
editableField.value = calcFieldValue;
document.removeEventListener('DataPageReady', calcValueHandler);
}
});
There are two values that I change each time I copy and paste the code. The Virtual field (in red above) and the InsertRecord field (also in red above)
Is there a way that I can pass the two values and then call a routine?
I don't know how to do this.
Lynda
Link to comment
Share on other sites
4 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.