Forums

Show joomla 'name', use the 'user_id'

brononius 22 Jul, 2013
Hey,

I'm trying to create a form in chronoform, that allows me to select the name of the joomla users.
This is done by a dropdown list and 'dynamic data'/'DB Multiloader'. That was easy.😉

But now, the data that's written in my form table, is of course the actually name.
And i would like to put the user_id in here. What's the best way to do this?


I tried with it to create a new 'DB multiloader' when hitting the submit button. But seems that this isn't straight forward (at least not for me)...
GreyHead 22 Jul, 2013
Hi brononius,

In the drop-down options set the 'value' to the User ID and the 'text' to the User Name.

Bob
brononius 22 Jul, 2013
Tsssss, details, details, details...😉
I had a value in fields (names) under de DB multi loader, so that was why I didn't found it.


Thanks to point me out to the right direction!!!
This topic is locked and no more replies can be posted.