• 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: 1.52.0 Added - {if} scripting now allows comparing

1.52.0 Added - {if} scripting now allows comparing 8 years 8 months ago #35641

  • patrick.jackson
  • patrick.jackson's Avatar
  • OFFLINE
  • Junior Boarder
  • Joomla Consultant, Melbourne Australia
  • Posts: 22
  • Thank you received: 4
In the changelog for RSForms Pro, for version 1.52.0 it has:

Added - {if} scripting now allows comparing values.

However, the documentation about the process has not been updated yet to say how to go about comparing values.

Does something like this work?

{if {field:value}=='Yes'}Show information{/if}
Joomla Consultant & Hosting Provider
Melbourne Australia
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 8 months ago #35711

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 634
  • Thank you received: 117
This is already covered in the article, the online documentation is updated before the new version will become available for download.
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 8 months ago #35725

Hi, i cannot find this document.
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 7 months ago #35736

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 634
  • Thank you received: 117
Hello,

This is the article:

www.rsjoomla.com/support/documentation/r...onfigure-emails.html

Details regarding this matter can be found right above the 'Additional Emails' section.
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 7 months ago #35739

Thank you. i see it.
it is good to add it's description to below page too:

www.rsjoomla.com/support/documentation/r...t-php-knowledge.html
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 7 months ago #35740

  • info4143
  • info4143's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
It's very useful to have this function available:

{if {field_name:value}=Your desired value} {/if}

Does it also work with operators like > (greater than), < (smaller than), etc.?
The administrator has disabled public write access.

1.52.0 Added - {if} scripting now allows comparing 8 years 7 months ago #35749

  • patrick.jackson
  • patrick.jackson's Avatar
  • OFFLINE
  • Junior Boarder
  • Joomla Consultant, Melbourne Australia
  • Posts: 22
  • Thank you received: 4
Just updated my support ticket to point Dragos back to looking at this post, and asked for the second page pointed out by leila.joomla to be updated, as well as getting clarification on what operators will work in the if statements. Also asked if array comparison can be used so you can check if a value is in an array of values. Hoping to hear more on it soon.
Joomla Consultant & Hosting Provider
Melbourne Australia
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!