• 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: Add a line break to the value if exists.

Add a line break to the value if exists. 11 years 2 months ago #26642

  • david31
  • david31's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hi there. I'm creating invoices based on form submissions.

I need to have:

{Company:value}
{Address 1:value}
{Address 2:value}
{Address 3:value}
{invTown:value}
{County:value}
{inv Post Code:value}

But not all addresses will have 1,2,3 lines at the beginning.

Is there a way to include a line break in the value if it's submitted? Or to add a condition to the opperand?

Otherwise my addresses show like this

Company
Street ABC


Town
Postcode

I need to remove the gaps in the address basically^
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!