To define a typeahead list of T3 page alias names: ::
FE.type = text
FE.parameter.typeAheadSql = SELECT p.alias FROM {{dbNameT3:Y}}.pages AS p WHERE p.deleted=0 AND p.alias!='' AND p.alias LIKE ? ORDER BY p.alias LIMIT 20
$wrapArray[0]=Support::insertAttribute($wrapArray[0],'class',$class);// might be problematic, if there is already a 'class' defined.
if($wrapName==FE_WRAP_LABEL){
$wrapArray[0]=Support::insertAttribute($wrapArray[0],'style','text-align: '.$formElement[F_FE_LABEL_ALIGN].';');// might be problematic, if there is already a 'class' defined.
// SQL (4 columns, none 'id', one 'label' ) - Take the first and the fourth two columns
$expectKeys=['100','400','200'];
$expectValues=['basic','access','various'];
$expectKeys=['100','200','300'];
$expectValues=['basic','formelement','layout'];
$formElement['sql1']=$this->dbArray[DB_INDEX_DEFAULT]->sql('SELECT ord, created, modified, name AS label FROM FormElement AS fe ORDER BY fe.id LIMIT 3');
@@ -320,7 +320,7 @@ class BuildFormPlainTest extends AbstractDatabaseTest {
// SQL (4 columns, none 'id', one 'label' ) - Take the first and the fourth two columns
$expectKeys=['1','2','3'];
$expectValues=['basic','access','various'];
$expectValues=['basic','formelement','layout'];
$formElement['sql1']=$this->dbArray[DB_INDEX_DEFAULT]->sql('SELECT ord, created, modified, name AS label, id FROM FormElement AS fe ORDER BY fe.id LIMIT 3');
# cat=form-layout/layout; type=string; label=FormElement label align:Default is 'left'. Possible values: 'left', 'center', 'right'.
labelAlign = left
# cat=form-layout/layout; type=string; label=CSS class QFQ container:Default is empty. Empty, if the page content is already wrapped in a Bootstrap container. Else 'container'.