• 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: Join the three textbox value in another textbox

Join the three textbox value in another textbox 11 years 2 months ago #26690

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
Good day support team.
I came across a doubt, I would join three textbox modifying.
I'm using the support ticket element in my form in order to generate the random, unique number for each form submission. I also want to add other textbox in this random number.

example:
Textbox1 Value = MG
Textbox2 Value = KJ
Support tiket, Automatic Value = 12345

Personalised Result:
{textbox1.value}{supporttiket.value}{textbox2.value}

result:
MG12345KJ

The customized result is displayed correctly and the Email sent and Thank You message.

How to make MG1245KJ be recorded in support tiket instead of 12345?
If not possible, how to write in another field(TextBox3) as result {textbox1.value}{supporttiket.value}{textbox2.value}?

The intention is to have this result as a single number to display in the list submission.

Thanks in advance to who can help
Danilo
Last Edit: 11 years 2 months ago by danilofagundes.
The administrator has disabled public write access.

Join the three textbox value in another textbox 11 years 2 months ago #26705

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
Mr. Alexandru Plapana, support staff provided me with the solution....

You can simply have this values stored directly within the support ticket field. Within the PHP Scripts > Scripts called on form process area, use the following code:
if(empty($invalid)){
$_POST['form']['name of your support field'] = $_POST['form']['field 1 here'].$_POST['form']['name of your support field'].$_POST['form']['field 2 here'];
}

Regards!
Danilo Fagundes
The administrator has disabled public write access.
The following user(s) said Thank You: flexconcept, teles123
  • 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!