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

Moderators: ArturoRobles, ArturoRobles

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.
#826019
Hi,

Currently, when the type of a field in Dynaform is of type hidden, the hidden icon will be shown in the field. The variable name of the hidden field is not shown. It is very inconvenient for us to do debugging as we have to click into the hidden field before we know which variable is the field using.

Is there a method to show the variable name of hidden field?

Many Thx

cheers,
Karl
#827856
Hello
It is not possible for a hidden web control to display a label in the dynaform.
only a code debugger is performed when a process case is run of the following way:
Go to Designer then right click the process you want to enable debug mode then enable debug mode.

To sum it up
Designer -> Right click process -> Enable Debug mode

Attach some images to show you how the processmaker debugger works in the processes, I used in a dynaform a hidden control.
Attachments
image1.PNG
image1.PNG (55.22 KiB) Viewed 969 times
image2.PNG
image2.PNG (52.94 KiB) Viewed 969 times
image3.PNG
image3.PNG (73.88 KiB) Viewed 969 times
image4.PNG
image4.PNG (74.08 KiB) Viewed 969 times
#827860
Hi Ricardo,

Thank you for your advice.

I raised the question because during system developments, one of the common problems or causes of bugs is not having the parameter passing variables included as hidden fields in the Dynaforms. It would be more convenient for developers if the variable names of the hidden fields are shown in the hidden fields. E.g. allowing visible labels in the hidden fields. Sure, these hidden fields and labels should be invisible during processing.

cheers,
Karl
#827873
Hello!
ProcessMaker uses PHP, which is an interpreted language, so the source code is the executed code. You can directly change the code of your installation. On Windows, you can find the code at: C:\Program Files\ProcessMaker\apps\processmaker\
On Linux: /opt/processmaker/

but I would not recommend modifying the ProcessMaker source code, as in a version upgrade you will lose all changes.

Best Regards!
REST API Question

I am currently looking at developing a portlet for[…]

Everybody wants to be famous, but nobody wants to […]

Hi, I attached a sample config file, Please check […]

Error clicking on Participated

Hi, I attached a sample config file, Please check […]