You can use a combination of 1 tsp of baking soda + 1.5 TBSP oil + 1.5 TBSP of water to substitute egg in cornbread. Another option is to make a flax egg. This would be 1 TBSP of ground flaxseed + 2 TBSP of water. Let it sit for 5-10 minutes to form a gel.