I have a question regarding the contributor form in OMP 3.4. For OMP 3.3. I used Common::UserDetails::AdditionalItems to add a new field + javascript via a template. For OMP 3.4. I used Form::config::before to add a new field like so:
Since authorForm.tpl (which uses userDetails.tpl and thus the Common::UserDetails::AdditionalItems Hook) is deprecated in 3.4.I found a workaround that is certainly not perfect:
Using the Form::config::before hook, I added my field as mentioned above. Then I used the following code in the same hook function:
In the JavaScript file I used a bunch of query selectors and event listeners to get the effect I wanted but it is a very clumsy solution. If anyone still has any advice on how to add fields and javascript to the contributor form in OMP 3.4., it would be nice to know.