Forum Discussion
Former_Member
6 years agoAccelerator III
Thank you!
It tells me that "The name 'getFieldByName' does not exist in the current context".
christopher_gillis
6 years agoCommunity Manager
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_Member6 years agoAccelerator III
I'm using 11.0 SP12 version.
- christopher_gillis6 years agoCommunity Manager
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_Member6 years agoAccelerator III
This works, Thank you!