Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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() );
What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]

To convert MBOX to PST, start by downloading and i[…]

My Assignment Services stands out as one of the be[…]

Erectile Dysfunction, commonly known as impotence,[…]