Use the TYPO3 forum http://www.typo3.net or http://www.typo3forum.net for help! The author will check both forums from time to time and give a little bit of free support. Payed support could be done on http://www.in2code.de
Prefill fields with values from backend or
Prefill fields via typoscript (see example above) or
Prefill fields with feuser values (set in backend)
Prefill if some fields are already filled and than the user submits form and leaves this page but comes back to the form page later
Prefilling from outside like index.php?id=1&tx_powermail_pi1[uid55] (if you want to prefill with a pre form)
Prefill fields with hook use (PM_FieldWrapMarkerHook1)
You can overwrite the locallang via typoscript or you can change the locallang.xml in the ext folder.
Details - see “HTML Templates and markers use” in manual above
This check is activated for default for textfields
You can turn of the validation via TS constants
Check if the 4 js files are correctly implemented in the HTML HEAD area:
<script src="/typo3conf/ext/powermail/js/mandatoryjs/lib/prototype.js" type="text/javascript"></script>
<script src="/typo3conf/ext/powermail/js/mandatoryjs/src/effects.js" type="text/javascript"></script>
<script src="/typo3conf/ext/powermail/js/mandatoryjs/fabtabulous.js" type="text/javascript"></script>
<script src="validation/fachgebiete/typo3-extensions/powermail.html" type="text/javascript"></script>
The last file is a little bit tricky – It is the current page with type=3131. If you copy this relative path to your browser, this should show you a dynamic JavaScript file!
If you want to check of mandatory fields, check if “required” is in the input class.If you want to check of email fields, check if “validate-email” is in the input class.Of course you can mix this.See standard form for all needed classes.
NOTE: If you use mootools within your homepage, there is a conflict with prototype. You can field validation via mootools in the constants
All can be done with css. Note: If you only need one page (no multiple page), you can anyway add more than only one fieldset. So you can float fieldsets horizontal (e.g.).
Note1: See “CSS corner” for css examples below
Note2: We offer a sample css in the extension folder: ext/powermail/css/sampleCSS.css
Note3: Have a look into an existing powermail example and copy the css of this homepage (examples are listed above)
HTML validation failed on such form action:
index.php?id=1&tx_powermail_pi1[mailId]=1&cHash=1234567
Try to use RealUrl to remove cHash
If you have chosen XHTML strict in your TYPO3 backend, the & will be written as &
Sometimes it could be useful to use an own html code instead of the automatic html code. You can simply generate some fields and copy the html source between the form tags in the formwrap.html template or you can use markers like ###UID23### to get the HTML code of this field – thats all.
Add new fe_users in backend with email (e.g. UID1 info@test.com and UID2 with support@test.com)
Create a new select field in powermail (value e.g. Info | 1 \n Support | 2) (select like ###UID42#)
Use db query for recipients in TYPO3 backend (e.g. SELECT email FROM fe_users WHERE uid = ###UID42###)
plugin.tx_powermail_pi1.email.recipient_mail {email_query = TEXT
email_query.value = SELECT email FROM fe_users WHERE uid = ###UID42###
}
Query for selecting one fe user (e.g.: UID42 is fe_user uid):
SELECT email FROM fe_users WHERE uid = ###UID42### AND hidden = 0 AND deleted = 0
Query for selecting a fe usergroup (e.g.: UID43 is fe_user group uid):
SELECT email FROM fe_users WHERE find_in_set(###UID43###,usergroup) > 0 AND hidden = 0 AND deleted = 0
Query for sending form to a static fe usergroup (e.g.: usergroup with uid 44)
SELECT email FROM fe_users WHERE find_in_set(44,usergroup) > 0 AND hidden = 0 AND deleted = 0
plugin.tx_powermail_pi1 {validate.uid41.auto = email
validate.uid41.errormsg = Please check your email, there is an error!
validate.uid56.auto = url
validate.uid56.errormsg = Please check your url, there is an error!
}
Details or how to use own regulare expression see above!
Maybe you have installed and loaded the extension captcha and in constants is set sr_freecap (standard) instead of captcha.
It's possible to enable one time filling via constants. Check if a value already exists (maybe an email address) or check if IP address already exists. See constants editor...
If you use static_info_tables or (e.g.) static_info_tables_de and you forgot to import the data, the value fields are empty in the database. Powermail shows an errormessage in the dropwdown like “Empty field cn_short_en (uid 33)”
“Sehr geehrter Herr” if male or “Sehr geehrte Frau” if female
http://www.typo3.net/forum/beitraege/formulare/78897/beitrag/
If someone comes from google to your page – maybe you want to add the searchterm to your mail
http://www.typo3.net/forum/beitraege/formulare/78365/beitrag/
Another userFunc example, which shows the next days in a powermail select box
http://www.typo3.net/forum/beitraege/formulare/78670/beitrag/

