• 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: Combine text data from two fields

This message has been removed by user's request. 13 years 7 months ago #14750

  • 63f691c2fa0e87d7519da8989de5042e@RSJOOMLA_DELETED
  • 63f691c2fa0e87d7519da8989de5042e@RSJOOMLA_DELETED's Avatar
This message has been removed by user's request.
The administrator has disabled public write access.

Combine text data from two fields 10 years 10 months ago #27999

  • eddie2
  • eddie2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Anyone?

Eddie
The administrator has disabled public write access.

Combine text data from two fields 10 years 10 months ago #28001

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
You can achieve this with PHP Scripts . With a hidden field created, insert the following in the PHP Scripts on form process:
$_POST['form']['hidden_fieldname'] = $_POST['form']['name_field'] . " " . $_POST['form']['last_name_field'];
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: ian.scott

Combine text data from two fields 4 years 6 months ago #40682

We had the same issue recently. We used javascript to populate a hidden field in real time. Then we used this field to sync with the Joomla user validation.

<script>
$( document ).ready(function() {
$("#fname, #lname")
.keyup(function() {
var firstName = $("#fname").val();
var lastName = $("#lname").val();

$("#full_name").val(firstName + ' ' + lastName);
});

});
</script>
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!