Fields configuration

I have requirement where i have a interface in which I have two fields let's say "error" and "error type"

And also I have the below fields,

Personal details (section header)                

Name - jack                                

Last name - rayan                      

Mailid - blank

Then the result should be,

Error          - personal details

Error type - mailid

  Discussion posts and replies are publicly visible