Skip to Content
Menu
This question has been flagged
1 Reply
1644 Views

Hii

how to set xpath globally like i have field parent_id and i use it in diferent diferent forms in same module. when i change it's string that time only main form string would be changed not on every form. how to do it ?

plz suggest me... 

Avatar
Discard
Best Answer

If you have different forms, you would need to inherit all the forms and change the string is the only way.

You can also override fields_view_get method and change the string for a field (or whatever you want to do). This method is called whenever any view gets loaded. So this will work for all the views in your case.

Avatar
Discard