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 richvle
Does anybody know how to retrieve a control's FORM UID?
I have a parent form that has multiple subforms. Each subforms has unique controls, for example:
Parent Form

I have the name of the control, and I want to get the UID of the subform that it's located in.
User avatar
By amosbatto
You can find the ID of the field's subform with this JavaScript code:
var subformId = $("#fieldID").closest("div.pmdynaform-form").prop("id");
where fieldID is the ID of the field.

If you are creating an event handler for the field, then you can do something like this in your event handler code:
Code: Select all
$("#fieldID").setOnchange( function(newVal, oldVal) {
   var subformId =;
Call Help Center

pinterest help , contact pinterest , pinterest ph[…]

thank you for your Interest but I found problem […]

Hi, Some times the executeQuery function is not […]

Link Logo

Nice topic. Its very useful about link logo desi[…]