Good to hear, I think that means you caption had some rich text formatting, not that it was a text field ... just something to be aware of as you could end up with the same problem with your drop down.
Great, HEADER is a text object, this code works!!!!
My only problem at this point is with TextFields, the ".caption.value.#text.value" works perfect with other objects like DropDownLists but for some reason is not working with TextFields captions. Every time I try with TextFields I get an error: "accessor 'TEXTFIELD1.caption.value.#text.value' is unknown"
Is not working for all fields, the concatenate function is only showing the field value but not the captions. My smartform is looking to concatenate several Text Captions, Text Field Captions and Text Field Values into a text that can be copy-paste in another platform.
Here is one example:
//HEADER (just a text box in the form with some captions): Data to concat
//TextField1 (field with a caption and space to capture input): Enter name
//DropDownList1 (list with a caption and options to capture input): Select title