Loading content plugins in the Thank You message

Sometimes, when displaying an RSForm!Pro form within a Joomla! Content article (using the Content plugin), you might want to load some content plugins like Code highlighter or Vote in the form's Thank you message.

This is not a default feature of RSForm!Pro, but it can be done using some custom scripting.

To achieve this, head to:

Components >> RSForm!Pro >> Manage Forms >> edit your form >> Properties >> PHP Scripts and add the following code in the Scripts called after form has been processed area:

$thankYouMessage = JHtml::_('content.prepare', $thankYouMessage);

Note:

You can find more info on the PHP Scripts tab here.


6 persons found this article helpful.


Was this article helpful?

Yes No
Sorry about that

You Should Also Read

Dynamically adjust email and thank you message content without PHP knowledge HOT

How do I show the uploaded image in the Thank You message? HOT

Setting up the Thank You message to open a new window