Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: mykee - elokuu 09, 2014, 04:39:13 AP

Otsikko: Custom field with multi-language
Kirjoitti: mykee - elokuu 09, 2014, 04:39:13 AP
Dear all,

I have a multilanguage forum, and I set a custom field to registration. How can I set field language for used langs?
Otsikko: Re: Custom field with multi-language
Kirjoitti: Arantor - elokuu 09, 2014, 06:46:41 AP
It would need to be rewritten to support that, it has no understanding of multiple languages.

I'm curious, what exactly did you have in mind?
Otsikko: Re: Custom field with multi-language
Kirjoitti: mykee - elokuu 09, 2014, 08:15:03 AP
I need a Gender and Birthday field in registration, but need requirement, not optional. I activate Custom fields, but there's no option for requirement or not. And I set to 18 years old for minimum age, but Birthday field no show.
I think, make a custom field with main parameters, but language support not found. I think use lang codes from templates, maybe will work, but no tried yet.
Otsikko: Re: Custom field with multi-language
Kirjoitti: Arantor - elokuu 09, 2014, 08:24:17 AP
You can certainly set fields to be required at registration.

The other problem is that people can and will lie.
Otsikko: Re: Custom field with multi-language
Kirjoitti: mykee - elokuu 09, 2014, 08:32:12 AP
People will die, it's ok, but this will no my problem :)
I find where can I set requirement to every field, but not found. Find a mod too and here in forum, but nothing. :( Need I modify template?