sgaylor Posted July 21, 2009 Report Share Posted July 21, 2009 HI, I'm working with virtual fields and have a very basic question. How do you access them in HTML? I've tried something to display the value in a virtual field that is as simple as: virtual2- [@cbParamVirtual2] ThHe virtual2- lable is displayed but not the value in the Virtual2 field. Any suggestions? Thanks! Quote Link to comment Share on other sites More sharing options...
0 anonymous3009 Posted July 21, 2009 Report Share Posted July 21, 2009 Hi, You can get the value of any field(including virtual field) on the form by doing something like this in JavaScript which you insert in the header or footer of your datapage: function VF() { var i = document.getElementById("cbParamVirtual1").value; alert(i); } document.forms[0].onchange=VF; Note that "cbParamVirtual1" is the name of my virtual field which you would replace with yours. Hope this helps. Thanks, ANOM3009 Quote Link to comment Share on other sites More sharing options...
Question
sgaylor
HI, I'm working with virtual fields and have a very basic question. How do you access them in HTML?
I've tried something to display the value in a virtual field that is as simple as:
virtual2- [@cbParamVirtual2]
ThHe virtual2- lable is displayed but not the value in the Virtual2 field.
Any suggestions?
Thanks!
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.