Choose randomly between two dispatcher names

Hi,

I would like to know if it is possible to choose randomly between two (or more) names when using the API (dxname).

Thanks.

You can do it at your site and pass a random name (or better a random one picked from your own staff if this is a VA/Group)…

For php, something like this would be enough (considering you are applying correct syntax at your form)

$dispatchers = array('Enrico S.', 'George C.', 'Robert L.');
$dxname = array_rand($dispatchers);
1 Like