Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By HeshanKaru1994
#824404
Can you show an html preview inside a panel which will generate according to given parameters
By HeshanKaru1994
#824423
Yes there is a mistake in the documentation, you have to pass php variables rather than using processmaker variables to panelContent variable
User avatar
By amosbatto
#824443
If that is what you want, then create a trigger like this:
Code: Select all
@@paymentMethod = 'cash';
Which is fired before the Dynaform.

Likewise, you could have a trigger like this:
Code: Select all
@@panelContent = "<p>A message to display to the user.</p>";

Then, create a hidden variable in your Dynaform associated with the "panelContent" variable.
Then, add this JavaScript to your Dynaform:
Code: Select all
$("#instructions").find("div.panel-body").html( $("#panelContent").getValue() );
Grid loading data

There are 5 columns in a grid.And when I start typ[…]

Pasar desde una PM table a Grid

He creado un ejemplo que puedes usar: https://www.[…]

Starting subprocess

See: https://www.pmusers.com/index.php/Executing_a[…]

error when I restart my server

Hi Amos, I flaged the debug=1 but the errors are […]