ambonboy.
Form field value based on 2 other fields
Here is the code I tried on the basis of the 'generating-a-slug-from-a-title' example in docs.
The idea is that the field src_code will be generated by a helper function based on two other fields: leader, a string and execdir_id, an int.
I don't know what is happening, but the first one works (leader) but nothing seems to happen when I change the execdir_id field (it is a select drop down).
It eventually gives a max execution time exceeded error in the background.
7 replies