Page 1 of 1

PMFUserlist

Posted: Fri Oct 11, 2019 4:04 am
by PipSqueak
I've used the wizard to use the function PMFUserList and saved it as variable @@allUsers.
I execute this trigger before dynaform.

I've also placed @@allUsers as array variable under a "Suggest" text field. Nothing comes up when I typed a username into the suggest field. I tried this on dropdown too, it knows there is a list but it's all blank.

What am I doing wrong here?

Re: PMFUserlist

Posted: Sun Oct 20, 2019 1:18 am
by programerboy
Hi,
Your trigger must be like this:
Code: Select all
@=allUsers = array();
$temp = PMFUserList();
foreach ($temp as $row)
	@=allUsers[]= array($row['guid'], $row['name']);