I am trying to construct a dialog box with a variable number of fields, however, the hiCreateStringField ?name parameter is supposed to be a single-quoted symbol reference so I cannot simply assign the result of hiCreateStringField to an array and then reference it. I must have the wrong approach.
Does anyone know how to construct a form with a variable number of fields? If so, can you point me in the right direction? I want to be able to create fields in an indexed loop and read their values that way.
Well, for me if I enter fred, jim, harry in the three fields I get:
("fred" "jim" "harry")
appearing in the CIW. So it works for me! (I cut and pasted the code above and used that, to be sure).
No idea how it could be displaying the default values if the field values have been changed. You'd have to use ->defValue to get the default values...