• 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: Multiple line item ordering

Multiple line item ordering 12 years 11 months ago #13720

  • ddottei
  • ddottei's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I am attempting to create a single order form that will allow multiple line item ordering without creating a field for every line item in the form. There are on average 15 line items per order and as high as 75. Is there a plug-in for RS Forms Pro that will preform this function?
Thank You,
The administrator has disabled public write access.

Re:Multiple line item ordering 12 years 11 months ago #13765

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 733
  • Thank you received: 60
Hello,

RSForm!Pro does not have a plugin that provides this functionality at the moment, you can post your feature/plugin request in our feedback section:

www.rsjoomla.com/suggest-extensions/sing...ory/4-rsformpro.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re: Multiple line item ordering 12 years 5 months ago #15494

  • s31523
  • s31523's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
Have you solved this or found a work around?
I want my form to preserve the carriage returns in the form submission so that the form display's with the field text on each line that was intended, not a single line of text... Anyone else come up against this?
The administrator has disabled public write access.

Re: Multiple line item ordering 12 years 5 months ago #15498

  • s31523
  • s31523's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 25
I ended up making a custom change to the mod_rsform_list module.

In the code, when it generates the data contained in a field:
	foreach($prm_explode as $param_row){
		$param_row = explode('=',$param_row,2);
		if(isset($param_row[1])){
			$prm[$param_row[0]] = $param_row[1];
		}else{
			$prm[$param_row[0]] = '';
		}
 

I changed to:
	foreach($prm_explode as $param_row){
		$param_row = explode('=',$param_row,2);
		if(isset($param_row[1])){
                        $prm[$param_row[0]] = preg_replace("/\n/","<br>", $param_row[1]);
		}else{
			$prm[$param_row[0]] = '';
		}
	}

This causes the newlines to be displayed as <br> tags in the subsequent HTML.
Last Edit: 12 years 5 months ago by s31523.
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!