Forum Discussion
Former_Member
7 years agoIdeator I
Thank you!
It tells me that "The name 'getFieldByName' does not exist in the current context".
christopher_gillis
7 years agoNew Member
Could you let us know what version of Aras Innovator you're using? I ran my test in an 11.0 SP15 instance, and some of these function names can change between service packs.
- Former_Member7 years agoIdeator I
I'm using 11.0 SP12 version.
- christopher_gillis7 years agoNew Member
Hi Mille,
It looks like getFieldByName does exist in 11.0 SP12. Could you try explicitly calling this function with window.getFieldByName()? If that doesn't work you could also try getting the field by using standard HTML calls like below.
document.getElementsByName("item_number")[0].getElementsByTagName("input")[0];
Chris
- Former_Member7 years agoIdeator I
This works, Thank you!