Hello,
how can i copy the (text) content of a entity field into a 2nd field?
This should be triggered when i load the page. (not when saving)
Use Case: I have a primary key (mac address => uniq), if i change the mac address then my hook funktions (afterSave) wont be able to find the uniq mac addres on my 3rd party system.
So i tought i will create a mac_tmp field which i will fill out on loading the page, and when saving it i can search for the old mac and replace it by the new one in my 3rd party system/api.
Thanks,
Michael
how can i copy the (text) content of a entity field into a 2nd field?
This should be triggered when i load the page. (not when saving)
Use Case: I have a primary key (mac address => uniq), if i change the mac address then my hook funktions (afterSave) wont be able to find the uniq mac addres on my 3rd party system.
So i tought i will create a mac_tmp field which i will fill out on loading the page, and when saving it i can search for the old mac and replace it by the new one in my 3rd party system/api.
Thanks,
Michael
Comment