[TYPO3-UG Italy] [sr_feuser_register] upgrade e problema con checkbox aggiuntiva

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Thu Nov 8 14:40:17 CET 2007


Buongiorno.

 

Nel mio typo3 4.0.2 utilizzavo la versione 2.5.7 di sr_feuser_register, che ho esteso creando tramite kickstarter creando una nuova estensione per gestire un checkbox in più, di tipo Required.

 

Orbene, ho aggiornato sr_feuser_register alla 2.5.8 e...la mia estensione continua a funzionare, tuttavia NON riesco più a rendere obbligatorio il check del checkbox. Dove sbaglio?

 

Nel mio template di registrazione dati, la parte riguardante la checkbox aggiunta è:

 

<!-- ###SUB_INCLUDED_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

<p>

 

<!-- ###SUB_ERROR_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_bhfeuserregprivacy_acceptprivacybool###</p>

 

<!-- ###SUB_ERROR_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

<!-- ###SUB_REQUIRED_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

<p class="tx-srfeuserregister-pi1-error"> Spunta la checkbox! </p>

 

<!-- ###SUB_REQUIRED_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

###TCA_INPUT_tx_bhfeuserregprivacy_acceptprivacybool###

 

 

###LABEL_TX_BHFEUSERREGPRIVACY_ACCEPTPRIVACYBOOL### 

 

 

###REQUIRED_TX_BHFEUSERREGPRIVACY_ACCEPTPRIVACYBOOL###

 

</p>

 

<!-- ###SUB_INCLUDED_FIELD_tx_bhfeuserregprivacy_acceptprivacybool### -->

 

 

 

 

Nel config del TS, ho:

 

plugin.tx_srfeuserregister_pi1.requiredFields = email, password, tx_bhfeuserregprivacy_acceptprivacybool

 

plugin.tx_srfeuserregister_pi1.formFields = email, password, first_name, last_name, company,tx_bhfeuserregprivacy_acceptprivacybool

 

 

 

Grazie

 

Riccardo De Contardi



Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilità connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-UG-italy mailing list