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 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 3299 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.

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]