RonAnderson Posted April 1, 2023 Report Share Posted April 1, 2023 Hi, I'm using this code to transfer a value FROM a Virtual Field (Virtual17) TO a Text Field (Asset_Net_Cost):- document.querySelector ('[id^='InsertRecordAsset_Net_Cost']').value = document.querySelector ('[id='[@cbParamVirtual17']').value I just can't get the syntax right. I've been at this for hours... Any help would be greatly appreciated. Best regards, Ron Quote Link to comment Share on other sites More sharing options...
0 RonAnderson Posted April 2, 2023 Author Report Share Posted April 2, 2023 Hi, solved. I slogged away at this and eventually found the solution so if there's anyone who has the same problem, here's the correct syntax:- document.querySelector("[id='InsertRecordAsset_Net_Cost']").value = document.querySelector('[id^="cbParamVirtual17"]').value Best regards, Ron Quote Link to comment Share on other sites More sharing options...
Question
RonAnderson
Hi, I'm using this code to transfer a value FROM a Virtual Field (Virtual17) TO a Text Field (Asset_Net_Cost):-
document.querySelector ('[id^='InsertRecordAsset_Net_Cost']').value =
document.querySelector ('[id='[@cbParamVirtual17']').value
I just can't get the syntax right. I've been at this for hours... Any help would be greatly appreciated.
Best regards, Ron
Link to comment
Share on other sites
1 answer 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.