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 sujittra
#823223
If assistant don't check in radio group, it's a hide subform of Assistant Manager and Subform of Manager is also.
Attachments
subform.png
subform.png (143.2 KiB) Viewed 347 times
By stevensi1018
#823237
Should be as simple as :
Code: Select all
$("#subformID").hide();
replace subformID by the ID of the subform in the properties. Based on your radio, you'll have to do something like this:
Code: Select all
$("#radioID").setOnchange(functionName);

function functionName()
{
   var radioValue = $("#radioID").val();
   if(radioValue == "X")
      $("#subformID").hide();
   else¸
     $("#subformID").show();
}
User avatar
By amosbatto
#826068
Sriluxshi wrote: Tue Aug 20, 2019 1:29 am how to delete a subform?
It is a bad idea to delete a subform, because ProcessMaker will expect to find the fields in the subform when the Dynaform is submitted.

Instead, you should set the value of the fields in the subform to "" (an empty string) and you should hide the subform like this:
$("#1234567890abcdef1234567890abcdef").hide();
Where "1234567890abcdef1234567890abcdef" is the ID of the subform.
populate grids with trigger

Is your question how to populate a grid with a dat[…]

You can try using this: $mssqlId = '123456789abcd[…]

Changing the login page

In your pmos.conf, try changing from: Redirec[…]

I've created two endpoints for dealing with docume[…]