What is the correct MySQL database datatype to be able to store the form data of the Joomla Standard Form Field usergrouplist?
Since Joomla 3.2 usergrouplist should be used instead of usergroup. As there is no documentation for usergrouplist so far I am wondering what's the correct CREATE TABLE
statement to be able to store the form data in the database.
Serializing the form data and saving it to a text file shows that the form data is an array:
'usergrouplist_form_data' =>
array (
0 => '1',
1 => '11',
),
An overview of all Joomla standard form field types can be found here.