[TYPO3-mvc] getting the arguments of the form?
Stig Nørgaard Færch
snf at dkm.dk
Mon Feb 20 13:59:06 CET 2012
So you are saying, that with getArgument I cannot access the field
But are there other one-code-line options? I guess that's my question...
Den 20-02-2012 13:46, Claus Due skrev:
> Hi Stig,
> If reading directly from the action that accepts the argument:
> $arguments = $this->request->getArgument('person');
> If reading from a forwarded-to action, for example returned to newAction:
> $arguments = $this->request->getOriginalRequest->getArgument($argumentName);
> …returns the raw, un-mapped value of the original request's argument $argumentName, which is an array, containing index "streetName" if this was posted.
> That is, if I remember things correctly.
> On Feb 20, 2012, at 1:33 PM, Stig Nørgaard Færch wrote:
>> I could have input form with the name:
>> then I could get the person array with:
>> But is possible to check directly on above input field?
>> It doesn't seem like getArgument does the job here - but are there other methods to use?
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
More information about the TYPO3-project-typo3v4mvc