- Thu Aug 31, 2017 3:46 pm
#795111
Is there a way to retrieve the form's ID?
In the ProcessMaker documentations, in all the examples, they use a literal string for the ID.
For example,
syntax: $("#form-id").closeForm(); //form-id: The Dynaform ID.
example: $("#32228660756e6cc9b4fc9e4080264090").closeForm();
Is there a way to generically code it so that it retrieves the form's ID? Something like through a function...
$(getformUID()).closeForm();
In the ProcessMaker documentations, in all the examples, they use a literal string for the ID.
For example,
syntax: $("#form-id").closeForm(); //form-id: The Dynaform ID.
example: $("#32228660756e6cc9b4fc9e4080264090").closeForm();
Is there a way to generically code it so that it retrieves the form's ID? Something like through a function...
$(getformUID()).closeForm();