I have a website where you can enter in some inputs and a report comes out. You can then save any report and load it up in the future with all your settings. I have one example where you can create tables dynamically by inputting 2 fields:
Given these inputs, I create an empty table.
There is now a request to have the user enter in the column headings and that get saved with the inputs as well.
I am trying to think of a good user interface for the user to enter the column headings. Here are a few thoughts but looking for some suggestions
In this example, depending on the Number of Columns textbox, a set of textboxes show up to the right where the use can enter in the columns headings
or remove the Number of Cols all together and just create a list of names with an "Add Col" button like this:
Any other suggestions on what would be obvious / intuitive?