• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Merge First + Last Name in Registration plugin

Merge First + Last Name in Registration plugin 11 years 4 months ago #25914

  • wirecreative
  • wirecreative's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
Hi, I'm using your Joomla Registration plugin. In our form, we'd like to collect First and Last name separately, but this poses a problem when mapping to the Joomla Users table, in which Name is stored in a single field. Is there a standard way to handle this?

I've tried setting up a hidden field that will combine those two fields with Jquery, like this:
<script>
 
$('#FirstName, #LastName').keyup(function(){
    var getFirstName = $('#FirstName').val(),
        getLastName = $('#LastName').val();
 
    var fullNameValue = getFirstName + " " + getLastName;
    $('#FullName').val(fullNameValue);    
});
</script>

I may not be getting the syntax right, or there may be a script conflict, because I haven't gotten it to work like that, either.

Thanks if you can help!
Greg
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!