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.
I think that you might want to auto-create the name for the ?name argument to hiCreateStringField using gensym() perhaps? Or if you are within a numbered loop, you might just concatenate the number to a base name using something like concat('strField num) [where 'strField is the base name for each field and num is the loop variable]. You might consider looking at Solution Article 11106074 for some assistance.
Hopefully this is the sort of thing that you are looking for?