I have node Purchase order which has a field collection field "material"
in the "material" field collection I have referenced another node "material_data"which has 10 fields
when i want create Purchase order,
user will have two field where user can enter 'nid' of 'material_data' or 'title' of material_data.which should populate all other fields through ajax submit.i was trying to use asaf module and rules forms to find the form id but i can find the referenced node form
i cam only find the field collection form and I do not know how to achieve this.
Can any one throw some help and guide please


jmuzz’s picture

Issue summary: View changes
Status: Active » Fixed

Whenever you need to find a form ID you can create a form_alter implementation like this:

function mymodule_form_alter($form, $form_state, $form_id) {
  // Log $form_id

Go to a page that displays the form and check the log for your ID.

Hope this helps.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.