I've never had crickets eating the foam. Did you gut load them before putting them in the tank? Maybe you are feeding your frogs too much, they should consume them before the crickets even start chewing on the foam..