construct fieldbar with for-loop using arrays of its attrs