* Special case for SELECT input fields. To deliver a result array specify an '!' before the SELECT: ::
*{{!SELECT ...}}*
{{!SELECT ...}}
* This is only possible for the outermost SELECT.
...
...
@@ -1680,12 +1692,14 @@ Records will be deleted via `typo3conf/ext/qfq/qfq/api/delete.php` and needs the
* _targetUrl=<url> , typically, this is the $_SERVER['REQUEST_URI'] available via {{REQUEST_URI:Y}}.
* _answerMode=html
* _table=<table name>
* r=<record id>
Example:
::
SELECT 'u:typo3conf/ext/qfq/qfq/api/delete.php|U:table=Person&r=123&_targetUrl={{REQUEST_URI:Y}}&_answerMode=html|q:Do you want delete John Doe?|s|c:n' AS _link
SELECT 'u:typo3conf/ext/qfq/qfq/api/delete.php|U:_table=Person&r=123&_targetUrl={{REQUEST_URI:Y}}&_answerMode=html|q:Do you want delete John Doe?|s|c:n' AS _link
It's easier to use the shortcut via special columnname `_paged`.
...
...
@@ -1718,7 +1732,7 @@ The colum name is composed of the string *page* and a trailing character to spec
$row=$this->db->sql("SELECT * FROM ".$this->formSpec[F_TABLE_NAME]." WHERE id = ?",ROW_EXPECT_1,array($recordId));
$row=$this->db->sql("SELECT * FROM ".$this->formSpec[F_TABLE_NAME]." WHERE id = ?",ROW_EXPECT_1,array($recordId),"Form '".$this->formSpec[F_NAME]."' failed to load record '$recordId' from table '".$this->formSpec[F_TABLE_NAME]."'.");
$this->store->setVarArray($row,STORE_RECORD);
}
...
...
@@ -467,6 +469,8 @@ abstract class AbstractBuildForm {
}
/**
* Create an array with standard elements and add 'form-element', 'value'.
*
* @param $htmlFormElementId
* @param string|array $value
* @param string $feMode disabled|readonly|''
...
...
@@ -497,6 +501,8 @@ abstract class AbstractBuildForm {
}
/**
* Depending of $feMode set variables $hidden, $disabled, $required to 'yes' or 'no'.
*
* @param $feMode
* @param $hidden
* @param $disabled
...
...
@@ -648,6 +654,8 @@ abstract class AbstractBuildForm {
}
/**
* Calculates the maxlength of an input field, based on formElement type, formElement user definition and table.field definition.