Allow On Submit Field

while creating Custom Forms for some fields we do not get Allow On Submit option.
What is the criteria for getting that field??