getElementsIdbyName: added status selection
default: false (all status allowed)