• 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: PHP PDF Pre-Processing Scripts (if)

PHP PDF Pre-Processing Scripts (if) 7 years 7 months ago #37405

Hello..

Can someone help me...

I want to use this code (Script).

require_once (JPATH_ADMINISTRATOR. '/ components / com_rsform / helpers / scripting.php');
RSFormProScripting :: compile ($ info-> adminemail_layout, $ args , $ args );

{if {fieldname: value}} {fieldname: caption}: {fieldname: value} {/ if}


I have a form field: Checbox Group ({Treasurer Option: value}), with options: YES or NO.

If YES is selected, I need to show Text Example 1.

If NO Option is selected, I need to show Text Example 2.


I did so:

require_once (JPATH_ADMINISTRATOR. '/ components / com_rsform / helpers / scripting.php');
RSFormProScripting :: compile ($ info-> adminemail_layout, $ args , $ args );

{if {Treasurer Option: value} == YES} Treasurer: {Name Treasurer: value}, enrolled with the CPF under no. {CPF Treasurer: value} {/ if}

{if {Treasurer's Option: value} == No} There is no treasurer {/ if}


But it did not work.

Can someone help me...
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts (if) 3 years 1 month ago #41959

  • DiGwork
  • DiGwork's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
I would like to know the answer to this too! :huh:
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!