The button should be in a repeating group or a simple group having a datasource then it should appear