[Typo3] sr_feuser register extending form problem
racco
raczek at open.infi.pl
Fri Jul 15 18:51:54 CEST 2005
Hi list!
This is my situtation:
I have to pages each one with registration form.
Each of those pages use +ext template I created for them (one template per
site)
In each template in Constants field I put appropriate code from sr_feuser
register; difference is in usergroups id after registration from different
form
It works.
But,
I added new field (thru Ext Kickstarter). But the Labels, Missing etc
<!--###SUB_INCLUDED_FIELD_tx_feusersnewfields_email_firm###-->
<tr>
<td class="register_lables">
<p align="right">###LABEL_TX_FEUSERSNEWFIELDS_EMAIL_FIRM###
###REQUIRED_TX_FEUSERSNEWFIELDS_EMAIL_FIRM###</p> </td>
<td>
<p>###GW2B######EVAL_ERROR_FIELD_tx_feusersnewfields_email_firm######GW2E###</p>
<!--###SUB_REQUIRED_FIELD_tx_feusersnewfields_email_firm###-->
<p>###GW2B######MISSING_TX_FEUSERSNEWFIELDS_EMAIL_FIRM######GW2E###</p>
<!--###SUB_REQUIRED_FIELD_tx_feusersnewfields_email_firm###-->
<p><input type="text" name="FE[fe_users][tx_feusersnewfields_email_firm]"
size="20" style="width:120"/>
</p>
</td>
</tr>
<!--###SUB_INCLUDED_FIELD_tx_feusersnewfields_email_firm###-->
What is my problem?
EVAL_ERROR_FIELD_tx_feusersnewfields_email_firm - it was displayed on the
frontend just like this. So I looked into the setup and found evalValues
{ }section. So I added my field there:
tx_feusersnewfields_email_firm = email,atMost[255]
Miracously it worked. No more
"EVAL_ERROR_FIELD_tx_feusersnewfields_email_firm " on the frontend, all
works fine.
Unfortunately I was wrong.
When I tried to use other form, which is not using my new field it didn't
work. When I clicked Submit on Create screen , it just returned to the page
with form (with all values in fields). When erased the line with my new
field from the setup, it worked, but now this
EVAL_ERROR_FIELD_tx_feusersnewfields_email_firm was on the screen again...
it is a vicious circle for me, and I do not know what to do, I have spent
too much time on it :/
Hope in you
tomek
More information about the TYPO3-english
mailing list