two controls for same list column not saving data properly

I have dropdown (values: A,B,C,D,E) on responsive form. Based on dropdown value A or B selection other panel (P or Q) hide and show list column controls(X, Y, Z). The panel hide and show properly when value selected from the dropdown but the issue is data only saved for one of the panel and other panel has same x, y fields but not saving for panel B


Panel P control

  • Textbox X  
  • Date control Y
  • Text box Z


Panel Q

  • Textbox X  
  • Date control Y
0 Kudos