Thank you for the responses.
Adding an optional section for a repeating datatype was an issue. But once I dragged the repeating section(created separately) into the optional section, it seemed to work.
Later I settled for the approach suggested by PD, adding the repeating section and unchecking the type from tools > default Values.
Thank you both of you for taking time to respond.