![](https://s3.amazonaws.com/files.d20.io/images/21501327/01uqmISZRtbDolJdw7HAsA/thumb.jpg?1470065188323)
The following script is not working <input type="hidden" name="attr_initiative" value="0"/> <input type="hidden" name="attr_passe" value="1"/> <input type="hidden" name="attr_locked" value="0"/> function functiontest(msg) { var attribute = 'passe'; var characterID = '-Mq5SUNnAl4yvphcKgtu'; var character = getObj("character", characterID); var result = getAttrByName(character.id, attribute); sendChat('System',result); } It looks like hidden inputs are not created properly and cannot be accessed by the getAttrByName() method. Please find the discussion about this in the API forum: <a href="https://app.roll20.net/forum/post/10540011/instancing-of-hidden-attributes" rel="nofollow">https://app.roll20.net/forum/post/10540011/instancing-of-hidden-attributes</a>