The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Profile > Date field to appear as text

View previous topic View next topic Go down

Profile > Date field to appear as text

Post by LVC on December 12th 2011, 12:05 am

Hiya,

You know in the profile a member adds the date of his/her birthday and it then appears as a number of years for age.... for example:

DOB : 1971-04-09

it appears in his profile (under his avatar) as : Age: 40

Is it possible to add another "date" field which gets transformed into a number?

For example:

Date licence passed: 1988-05-04

to appear in profile (under his avatar) as : Licence held: 23

I can add the "date" field no problem and likewise the "text" field but can't see how I can get the automatic calculation/transformation like we get for DOB > Age.

Thx in advance, T

LVC
Forumember

Posts : 48
Reputation : 0
Language : English

Back to top Go down

Re: Profile > Date field to appear as text

Post by Sanket on December 12th 2011, 4:54 am

http://help.forumotion.com/t11187-personalized-profile-fields-warning-system#58391

Choose the date option. Although, i don't think it will then appear as Licence held.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Profile > Date field to appear as text

Post by LVC on December 12th 2011, 11:45 am

Thx for the reply Sanket but it's the conversion from date to numeric that I'm after (I've already got the date input). I need to know what's the coding behind the "DOB" special field which gives the "age" in years and if this coding can be added somewhere else or is it nested and not useable?

LVC
Forumember

Posts : 48
Reputation : 0
Language : English

Back to top Go down

Re: Profile > Date field to appear as text

Post by Sanket on December 12th 2011, 8:08 pm

I don't think that can be achieved.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Profile > Date field to appear as text

Post by LVC on December 12th 2011, 8:14 pm

No me neither - never mind - thx anyway Sanket, you can close this now pls Wink

LVC
Forumember

Posts : 48
Reputation : 0
Language : English

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum