• 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: Post "title" from surrounding article in RS Form

Post "title" from surrounding article in RS Form 12 years 8 months ago #18305

  • dmcleman
  • dmcleman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Our site is using K2. Several different K2 article pages load the same RS Form using:

{rsform 11}

In the form we need to know what the originating article was and to have the Title available.

We have set up a hidden field "subject".

We have set the default value in the form to:

//<code>
$doc = JFactory::getDocument();
$article_title = $doc->getTitle();
return $article_title;
//</code>

The problem is that this isn't returning the article page (presumably because it's a plug-in?) is there another way to get the value from the surrounding page passed to the form?

We don't want to create separate forms for each instance as this adds masses of complexity to the site.

Any bright ideas?
The administrator has disabled public write access.

Re: Post "title" from surrounding article in RS Form 12 years 8 months ago #18507

Hello,

Read the information provided with the link.
The same question was asked by the topic starer.

www.rsjoomla.com/forum/37-rsform-pro/176...do-i-know-where.html
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
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!