Template Field in Field Management (edit)

Si vous avez des questions sur le fonctionnement du composant

par stephenoutram » Ven 14 Jan 2011 22:27

Hello,
Would you please discuss how I might use the 'Template' field.

For example,
How would I add a '$' to appear in front of a number i.e. $100.53

How can I make 'CP' appear in front of a number i.e. CP00001

Can Template be used for this, or is it more for formatting?

Many thanks for a great component and your asssistance
Stephen
stephenoutram
 
Messages: 6
Inscription: Ven 14 Jan 2011 03:24

par steevo » Dim 16 Jan 2011 00:39

Yes you can!
Your field must be "number" type. You replace the value by %%

stephenoutram a écrit:How would I add a '$' to appear in front of a number i.e. $100.53

$%%

stephenoutram a écrit:How can I make 'CP' appear in front of a number i.e. CP00001

CP%%
Avatar de l’utilisateur
steevo
Administrateur du site
 
Messages: 330
Inscription: Jeu 17 Déc 2009 22:59

par stephenoutram » Dim 16 Jan 2011 03:36

Awesome. I love that. Thank you Steevo
stephenoutram
 
Messages: 6
Inscription: Ven 14 Jan 2011 03:24


Retourner vers Questions diverses

cron

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité