Form id gets changing while submitting form in Drupal 7 -
for example: form id = "xyz" after submit form id="xyz--2" on validation error page. please me.
you using wrong variable grab form id. otherwise it's not possible main form id changed. please print form array in hook_form , if using existing form, use hook_form_alter print form , check form_id there. form id main identity of form can not changed. if talk css id, can changed. please paste form array here. able tell appropriately then.
thank you!!
Comments
Post a Comment