• 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: How to do access $args in PDF pre-processing?

How to do access $args in PDF pre-processing? 12 years 3 months ago #21084

  • bness
  • bness's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I think I'm having a brain fart. But how do you access the submitted values in $args?
$args->values['form_field_name']
?

Basically, I need run if/else on both POST and already stored values for the ReSend Emails function.

Something like:
if(empty($args->values['form_field_name']) || empty($_POST['form']['form_field_name'])) {
     $info->adminemail_layout = str_replace('{form_field_name:value}','',$info->adminemail_layout);
}
The administrator has disabled public write access.

How to do access $args in PDF pre-processing? 12 years 3 months ago #21117

  • bness
  • bness's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
So I figured out that you go $args[0], which kinda sucks.

There should be a better way to access the data from the form, stored or posted?
The administrator has disabled public write access.

This message has been removed by user's request. 12 years 1 month ago #22213

  • 748383502572a35b8a0d1b4190bad28c@RSJOOMLA_DELETED
  • 748383502572a35b8a0d1b4190bad28c@RSJOOMLA_DELETED's Avatar
This message has been removed by user's request.
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!