• 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: Concatenate two columns into one hidden column

Concatenate two columns into one hidden column 11 years 1 week ago #27395

  • aioug
  • aioug's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
After the user enters data.. I would like to concatenate two columns and store the result in a hidden column. How can I do this from inside the form?


Thanks

AIOUG
Last Edit: 11 years 1 week ago by aioug. Reason: Signature
The administrator has disabled public write access.

Concatenate two columns into one hidden column 11 years 6 days ago #27409

  • aioug
  • aioug's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Any help?

No one has any idea how to do this from inside the form?
The administrator has disabled public write access.

Concatenate two columns into one hidden column 11 years 1 day ago #27470

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
To be able to concatenate values, you will need a small PHP script (note that this requires standard PHP knowledge). Just edit the form > Properties > PHP Scripts > insert the following in the second textbox area (Script called on form process) :
$_POST['form']['hidden_name_field'] = $_POST['form']['fieldname_1']." ".$_POST['form']['fieldname_2'];
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 11 years 1 day ago by cosmin.cristea.
The administrator has disabled public write access.
The following user(s) said Thank You: aioug
  • 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!