[TYPO3] Mailform special evaluation (Typo3 builtin form validation)

Darko Jr. Gonzalez jkokino at gmail.com
Sat Nov 3 21:40:30 CET 2007


Hey

Is there some specific reason why the form is not validating on my end with
Typo3 v4.0.4 ?
It doesnt evaluate the email input, I tried these:
*email=input,40,80 |  | EMAIL
or
*email=input,40,80 |  | EREG: Please enter a valid email address!
^(?:(?#local-part)(?#quoted)"[^\"]*"|(?#non-quoted)[a-z0-9&+_-](?:\.?[a-z0-9&+_-]+)*)@(?:(?#domain)(?#domain-name)[a-z0-9](?:[a-z0-9-]*[a-z0-9])*(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])*)*|(?#ip)(\[)?(?:[01]?\d?\d|2[0-4]\d|25[0-5])(?:\.(?:[01]?\d?\d|2[0-4]\d|25[0-5])){3}(?(1)\]|))$
Just processes the form and sends out the email.

I searched the changelog, nothing in there that is similar to my situation.
Tried by searching the bug database for the js...that didnt return some
useful info for me?

I follow this of course:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/20/#id3658875

I didnt try dataArray approach though.


Another one: Once I press submit, the form sends the mail, If I hit F5 to
refresh the page with the contact form, it resends the mail again :) Is this
the following bug:
http://www.securityfocus.com/bid/22668
If so, I see that the last version affected is 4.0.4


Thanks

Regards,
Darko


More information about the TYPO3-english mailing list