This ctag merges the GET and POST parameters of a submitted form, and re-arrange the parameters to group in one value the repeated items coming from input checkboxes or multiple selects.
It returns an array ready for include in your inline, given the name of the parameters match your database fields names.
You can filter the arguments from the POST/GET submission using an array of unwanted names (name=value pairs which don't match any field in your db, or false fields used in your form).
The default separator is a comma (',') but you can choose another.
Parameters
-unwanted
array, optional
array of the names of unwanted arguments
-sep
string, optional
custom separator character
Sample Usage
//full client_params, repeating fields joined :
join_params;
//for this form POST :
* pair: (choice)=(20058)
* pair: (choice)=(103)
* pair: (choice)=(8887)
* pair: (update)=(news)
* pair: (id)=(007)
* pair: (cookie)=(yes)
join_params(-unwanted=array('cookie','update'), -sep='|');
//will return :
array: (pair: (id)=(007)),(pair: (choice)=(20058|103|8887))
Source Code
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.