I'm trying to use a variable as the default= to a formtext: command, but am having problems getting the correct syntax, if it's even possible. Any suggestions/thoughts would be great appreciated!
My actual snippet is more complex, but here is an example of what I'm trying to do and am having problems with:
{RawData={clipboard}}
{ListData=split(RawData, ",")}
{formtext: name=Item1; default={=ListData[1]}}
I'm trying to take raw data from the clipboard, parse it into a list, then present each item from the list in a text field to allow me to modify the list item if necessary before continuing. The formtext: command above results in an error: [Error - Invalid default value for form command.]
I've tried other variations on the default= parameter, but haven't had any success yet. Hopefully, I'm just missing something obvious that someone can point out to me.
Thanks in advance!