• 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

PHP PDF Pre-Processing Scripts 12 years 5 months ago #20274

  • awdhaan
  • awdhaan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I'm trying to achieve that based on one of 3 choices in a form (dropdown list), the e-mail attached PDF shows a "[x]" for the choice as shown in the following example (choice 2 was chosen):

[ ] Choice 1
[x] Choice 2
[ ] Choice 3

I have read a little bit about the options to use the PHP PDF pre-processing scripts on www.rsjoomla.com/support/documentation/v...essing-scripts-.html

but I actually need to find and replace form output based on the choice value.
So I need some PHP line that will understand the scenario where depending on either choice 1,2 or 3 a different string replace occurs.

Any suggestions?

Thanks in advance and regards,

Andries
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts 12 years 3 months ago #21234

Do you find a solution?. thank's
The administrator has disabled public write access.

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

  • 748383502572a35b8a0d1b4190bad28c@RSJOOMLA_DELETED
  • 748383502572a35b8a0d1b4190bad28c@RSJOOMLA_DELETED's Avatar
This message has been removed by user's request.
Last Edit: 12 years 1 month ago by 88e71ec4fcd3901a612befc94910429b.
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts 11 years 6 months ago #25332

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 6
I'll second that the documentation is almost completely useless for any of their products.

Need to see examples to understand functionality and options. They tend to state the obvious and are very thin on useful information.

Looking forward to seeing the docs section beefed up.
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts 11 years 3 months ago #26119

  • info4683
  • info4683's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 1
Me too.

!
Kaum macht man etwas richtig, schon klappt´s..
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts 10 years 5 months ago #29405

  • orders48
  • orders48's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
For three days now I am trying to figure that out and as stated before the documentation is not helping at all. The problem with it is that the programmer assume that their customers know what and how they think. RSJoomla provides great products for a good price, but what does it help if you have to spend days and weeks trying to figure out how it works because of an uncompleted documentation.
The administrator has disabled public write access.

PHP PDF Pre-Processing Scripts 10 years 5 months ago #29413

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
orders48 wrote:
For three days now I am trying to figure that out and as stated before the documentation is not helping at all. The problem with it is that the programmer assume that their customers know what and how they think. RSJoomla provides great products for a good price, but what does it help if you have to spend days and weeks trying to figure out how it works because of an uncompleted documentation.

So how exactly can the documentation can help in this case ? The product documentation is provided to help you understand how the actual product works, not to provide PHP lessons. I am guessing that this is the actual soft spot - insufficient PHP related knowledge.

I think you got it all wrong, just like RPPEO did - a product documentation is not "useless" or "bad" if you can't find a copy / paste solution to your specific scenario. It would be absurd to think that we can ever create examples for basically any scenario the customer might think of...

Standard functionality will never require anything other decent Web-related working knowledge. Advanced functionality, naturally would need more knowledge - in your case PHP i presume.

Lets take the original message as an example - namely, awdhaan, needs to remove content if a certain value of a field is set... The original example, provided in the documentation does this against an empty value. Source:

http://www.rsjoomla.com/support/documentation/view-article/777-php-pdf-pre-processing-scripts-.html
if ($args['values'][$value_key]=='')

What can be used instead:
if ($args['values'][$value_key]=='your specific value here')

So, i am asking you... how is the RSForm!Pro documentation incomplete ? ... or what exactly is it missing ? (obviously other then PHP scripting)
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!