[TYPO3] sr_feuser_register: trying to have 2 edit screens
Francois Suter
fsuter at cobweb.ch
Sat Nov 3 18:13:10 CET 2007
Hi,
> Have a look at the template and take care that you also edit the
> validation
> part in there. Other wise you never get passed
> the validation. So every new field, has templatemarkers AND
> validation part,
> etc.
I'm not sure I understand exactly what you mean by "validation part".
For example, for one of my custom fields, I have the following in my
template:
<!-- ###SUB_INCLUDED_FIELD_tx_inti_job### -->
<dt>
<label for="tx-srfeuserregister-pi1-
tx_inti_job">###LABEL_TX_INTI_JOB### ###REQUIRED_TX_INTI_JOB###</label>
</dt>
<dd>
<!-- ###SUB_ERROR_FIELD_tx_inti_job### -->
<p class="tx-srfeuserregister-pi1-
error">###EVAL_ERROR_FIELD_TX_INTI_JOB###</p>
<!-- ###SUB_ERROR_FIELD_tx_inti_job### -->
<!-- ###SUB_REQUIRED_FIELD_tx_inti_job### -->
<p class="tx-srfeuserregister-pi1-
error">###MISSING_TX_INTI_JOB###</p>
<!-- ###SUB_REQUIRED_FIELD_tx_inti_job### -->
<input id="tx-srfeuserregister-pi1-tx_inti_job" type="text"
class="tx-srfeuserregister-pi1-text" size="40" maxlength="50"
title="###TOOLTIP_TX_INTI_JOB###" name="FE[fe_users][tx_inti_job]" />
</dd>
<!-- ###SUB_INCLUDED_FIELD_tx_inti_job### -->
Is that not enough? Not correct?
Anyway, it seems the error is with the password field and not with my
custom fields. But my form doesn't display the password field... (see
my next mail in answer to Johannes' suggestion).
Thanks
François Suter
--
Cobweb Development Sàrl
www.cobweb.ch
Rue Eugène-Marziano 15, CH-1227 Les Acacias (Geneva - Switzerland)
T: +41 22 880 00 93, F: +41 22 880 00 94, E: support at cobweb.ch
web solutions for professionnal requirements
More information about the TYPO3-english
mailing list