First and last name

mvilela

Member
I have two element
1. Full_Name
2. Small_name

How to update element Small_name with first and last name from Full_name

Regards
mvilela
 
There are many ways.
These I think these are the easiest ones:
You can make a calc element and striping the full name.
Or you can make a display one and do the same above :rolleyes:
 
don't work

var nome = ('aa_campeonato___Full_name');
var nomes = ('nome.split')(" ");
var ('aa_campeonato___Small_name').value = ('nomes')[0] + " " + ('nomes')[nomes.length - 1];
 
If you are looking to update the info in your database, I'd just work out the MySQL query and run it in phpMyAdmin
 
Back
Top