Page 1 of 1

Identifying Input Fields

Posted: Fri May 31, 2024 9:34 am
by BILLSTEWART@MCKESSON
I have javascript that identifies input fields using document.getElementsByTagName("input"). Works well for all converted DDS, but a new textarea widget was added to a screen and the tag name is textarea. Is there a way to change that or is there a better way to identify input fields?
I can also look for the tag name textarea, but the attributes do not match up, so it causes some other issues. All this can be worked around with more javascript, but I'd like to try to keep it simple.