• 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: Use page title in if statement in list module

Use page title in if statement in list module 7 years 2 months ago #37966

In the RS Form Pro List module is it possible to use the page title in an if statement? I would like only those rows to show where one of the values matches the page title.

I tried this but it didn't work:

<script type="text/javascript">
var x =document.getElementsByTagName("title")[0];
{if {FIELDNAME:value} = x.innerHTML}
<tr><td>{details}<u>{FIELDNAME:value}</u>{/details}</td>
<td>{global:fullname}</td>
<td>{FIELDNAME2:value}</td>
<td>{FIELDNAME3:value}</td>
<td>{FIELDNAME4:value}</td></tr>
{/if}
</script>

Thanks,
Susanne
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!