Simple Machines Community Forum

SMF Support => Language Specific Support => Italiano (Italian) => Topic started by: Xavier on October 03, 2004, 05:04:48 AM

Title: Nuovi campi nel profilo
Post by: Xavier on October 03, 2004, 05:04:48 AM
Vorrei creare nuovi campi nel profilo (dopo ICQ, AIM, MSN, YIM); come posso fare?
Title: Re: Nuovi campi nel profilo
Post by: Xavier on October 03, 2004, 08:29:24 AM
Ok, diciamo che sono riuscito a fare tutto... o quasi. Ho aggiunto dei campi alla registrazione (tipo indirizzo). Lui li registra bene, etc. L'unico fatto รจ che non so come renderli obbligatori, nel senso che se anche non li compilano, la registrazione va avanti lo stesso, e questo non deve accadere! Come posso fare?
Title: Re: Nuovi campi nel profilo
Post by: andrea on October 03, 2004, 08:59:24 AM
Ecco un tutorial sulla creazione degli nuovi campi nel profilo:

http://unknown.network32.net/tutorial.smf_custom-profile


P.S. Hopefully not to many bugs in my italian.  ;D
Title: Re: Nuovi campi nel profilo
Post by: Xavier on October 03, 2004, 09:06:57 AM
Thanks, i have read from it for create my fields, but i not read how make obligation fill some fields on registration... How make it?
Title: Re: Nuovi campi nel profilo
Post by: andrea on October 03, 2004, 09:12:59 AM
You can check mandatory form fields with javascript. Consult your favourite html tutorial for that. I know only this link by heart (but it is german):
http://de.selfhtml.org/javascript/beispiele/formulareingaben.htm
Title: Re: Nuovi campi nel profilo
Post by: Xavier on October 03, 2004, 10:46:58 AM
Thanks. I make it via sources/register.php .