[TYPO3-mvc] Validation on different page type?

David Effendi my.maylz at web.de
Sat Sep 4 21:43:12 CEST 2010


Hey Frank,

thank you for your answer.

the Page Type is set in a link that displays a fancybox where the form 
that is to be validated is in:
<f:link.action action="contact" arguments="{key:'{speaker.ID}'}" 
title="contact" pageType="6000"></f:link.action>

Thank you for this hint - we'll give it a try.

greetings
David


> Hey David,
>
>> we're trying to validate a form on a different pageType than the default
>> in our setup.
>>
>> When sending the form, passing the pageType along with the entries, the
>> form does not get validated. When sending the same form to the page with
>> our default pageType the form gets validated.
>>
>> Is this a bug? Can anyone confirm this?
>
> how do you set that pagePage? Via a hidden field inside the form (thus
> via POST), or did you add it to the form URI (thus via GET). I imagine
> you might try implementing server side validation via AJAX. This should
> work in general, but if you send the pageType via POST it could be that
> the _HMAC verification fails - so try to send the type via GET and the
> form data via POST.
>



More information about the TYPO3-project-typo3v4mvc mailing list