Username part of validation of "field"-Element

SR89

New Member
Hey guys!

I have a Formular with a "field"-Element. User should only be able to input a value like "XYZ'USERNAME'" or in other terms something like "*username" (where * marks any kind of letters or numbers).

Is there a way to do that?

Regards,
SR
 
You could use a hidden calc element that would pick up any value entered in your current field element, append the username (I assume that users have to be logged in to fill the form, so you can pull the username from the $user object) and saves the whole thing.
 
By 'username' do you mean their actual username? Or any username that exists in J!? Or the literal string "username"?

-- hugh
 
I mean the Username that is stored in the Joomla Database next to the User ID. Not the string "username".
 
And do you mean "their" username, i.e. the username of the person filling in the field, or any valid J! username?

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top